freebsd-skq/sys/fs/msdosfs
Konstantin Belousov bb7ca8229d Do not update the fsinfo block on each update of any fat block, this
is excessive. Postpone the flush of the fsinfo to VFS_SYNC(),
remembering the need for update with the flag MSDOSFS_FSIMOD, stored
in pm_flags.

FAT32 specification describes both FSI_Free_Count and FSI_Nxt_Free as
the advisory hints, not requiring them to be correct.

Based on the patch from bde, modified by me.

Reviewed by: bde
MFC after:   2 weeks
2013-02-17 20:35:54 +00:00
..
bootsect.h - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
bpb.h - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
denode.h Remove unused thread argument from vtruncbuf(). 2012-04-23 13:21:28 +00:00
direntry.h - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
fat.h
msdosfs_conv.c Discarding local array based on return values 2011-12-22 06:31:29 +00:00
msdosfs_denode.c r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00
msdosfs_fat.c Do not update the fsinfo block on each update of any fat block, this 2013-02-17 20:35:54 +00:00
msdosfs_fileno.c Use pm_fatlock to protect per-filesystem rb tree used to allocate fileno 2010-02-28 17:16:43 +00:00
msdosfs_iconv.c
msdosfs_lookup.c Use NULL instead of 0 for pointers 2012-07-22 15:40:31 +00:00
msdosfs_vfsops.c Do not update the fsinfo block on each update of any fat block, this 2013-02-17 20:35:54 +00:00
msdosfs_vnops.c The directory entry for dotdot was corrupted in the FAT32 case when moving 2013-02-01 18:06:06 +00:00
msdosfsmount.h Do not update the fsinfo block on each update of any fat block, this 2013-02-17 20:35:54 +00:00