freebsd-dev/sys/fs
Bruce Evans cefb55828f In msdosfs_settattr(), don't do synchronous updates of the denode
(except indirectly for the size pseudo-attribute).  If anything deserves
a sync update, then it is ids and immutable flags, since these are
related to security, but ffs never synced these and msdosfs doesn't
support them.  (ufs_setattr() only does an update in one case where
it is least needed (for timestamps); it did pessimal sync updates for
timestamps until 1998/03/08 but was changed for unlogged reasons related
to soft updates.)

Now msdosfs calls deupdat() with waitfor == 0, which normally gives a
delayed update to disk but always gives a sync update of timestamps
in core, while for ffs everything is delayed until the syncer daemon
or other activity causes an update (except for timestamps).

This gives a large optimization mainly for things like cp -p, where
attribute adjustment could easily triple the number of physical I/O's
if it is done synchronously (but cp -p to msdosfs is not as bad as
that, since msdosfs doesn't support many attributes so null adjustments
are more common, and msdosfs doesn't support ctimes so even if cp
doesn't weed out null adjustments they don't become non-null after
clobbering the ctime).
2007-10-18 07:26:21 +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 In msdosfs_settattr(), don't do synchronous updates of the denode 2007-10-18 07:26:21 +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