Date: Sat, 12 Feb 2011 12:52:12 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ufs/ffs ffs_softdep.c fs.h Message-ID: <201102121252.p1CCqXbr016037@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2011-02-12 12:52:12 UTC
FreeBSD src repository
Modified files:
sys/ufs/ffs ffs_softdep.c fs.h
Log:
SVN rev 218602 on 2011-02-12 12:52:12Z by kib
Use the native sector size of the device backing the UFS volume for SU+J
journal blocks, instead of hard coding 512 byte sector size. Journal need
to atomically write the block, that can only be guaranteed at the device
sector size, not larger. Attempt to write less then sector size results in
driver errors.
Note that this is the first structure in UFS that depends on the
sector size. Other elements are written in the units of fragments.
In collaboration with: pho
Reviewed by: jeff
Tested by: bz, pho
Revision Changes Path
1.267 +13 -11 src/sys/ufs/ffs/ffs_softdep.c
1.59 +1 -1 src/sys/ufs/ffs/fs.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102121252.p1CCqXbr016037>
