freebsd-dev/sys/fs
Bruce Evans cb65c1ee29 Implement the async (really, delayed-write) mount option for msdosfs.
This is much simpler than for ffs since there are many fewer places
where we need to choose between a delayed write and a sync write --
just 5 in msdosfs and more than 30 in ffs.

This is more complete and correct than in ffs.  Several places in ffs
are are still missing the choice.  ffs_update() has a layering violation
that breaks callers which want to force a sync update (mainly fsync(2)
and O_SYNC write(2)).

However, fsync(2) and O_SYNC write(2) are still more broken than in
ffs, since they are broken for default (non-sync non-async) mounts
too.  Both fail to sync the FAT in all cases, and both fail to sync
the directory entry in some cases after losing a race.  Async everything
is probably safer than the half-baked sync of metadata given by default
mounts.
2007-10-19 12:23:25 +00:00
..
cd9660 Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
coda Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
deadfs Below is slightly edited description of the LOR by Tor Egge: 2007-01-22 11:25:22 +00:00
devfs When we do open, we should lock the vnode exclusively. This fixes few races: 2007-07-26 16:58:09 +00:00
fdescfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
fifofs When we do open, we should lock the vnode exclusively. This fixes few races: 2007-07-26 16:58:09 +00:00
hpfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
msdosfs Implement the async (really, delayed-write) mount option for msdosfs. 2007-10-19 12:23:25 +00:00
ntfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
nullfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
nwfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
portalfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
procfs - Move all of the PS_ flags into either p_flag or td_flags. 2007-09-17 05:31:39 +00:00
pseudofs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
smbfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
tmpfs MFp4: Provide a dummy verb "export" to shut up the message 2007-10-04 17:11:48 +00:00
udf Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
unionfs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00