Date: Fri, 3 Aug 2007 23:13:51 +0000 (UTC) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/msdosfs msdosfs_fat.c msdosfs_vfsops.c Message-ID: <200708032313.l73NDpwM087171@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2007-08-03 23:13:51 UTC
FreeBSD src repository
Modified files:
sys/fs/msdosfs msdosfs_fat.c msdosfs_vfsops.c
Log:
Oops, fix the fix for the i/o size of the fsinfo block. Its log
message explained why the size is 1 sector, but the code used a
size of 1 cluster.
I/o sizes larger than necessary may cause serious coherency problems
in the buffer cache. Here I think there were only minor efficiency
problems, since a too-large fsinfo buffer could only get far enough
to overlap buffers for the same vnode (the device vnode), so mappings
are coherent at the page level although not at the buffer level, and
the former is probably enough due to our limited use of the fsinfo
buffer.
Approved by: re (kensmith)
Revision Changes Path
1.43 +1 -1 src/sys/fs/msdosfs/msdosfs_fat.c
1.168 +1 -1 src/sys/fs/msdosfs/msdosfs_vfsops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708032313.l73NDpwM087171>
