freebsd-dev/sys/ufs/ffs
Konstantin Belousov 455a6e0ff3 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
2011-02-12 12:52:12 +00:00
..
ffs_alloc.c Add kernel side support for BIO_DELETE/TRIM on UFS. 2010-12-29 12:25:28 +00:00
ffs_balloc.c - Merge soft-updates journaling from projects/suj/head into head. This 2010-04-24 07:05:35 +00:00
ffs_extern.h - Merge soft-updates journaling from projects/suj/head into head. This 2010-04-24 07:05:35 +00:00
ffs_inode.c Add function lbn_offset to calculate offset of the indirect block of 2010-11-11 11:35:42 +00:00
ffs_rawread.c Put the general logic for being a CPU hog into a new function 2011-02-02 16:35:10 +00:00
ffs_snapshot.c Add some FEATURE macros for some UFS features. 2011-02-09 15:33:13 +00:00
ffs_softdep.c Use the native sector size of the device backing the UFS volume for SU+J 2011-02-12 12:52:12 +00:00
ffs_subr.c - Merge soft-updates journaling from projects/suj/head into head. This 2010-04-24 07:05:35 +00:00
ffs_tables.c
ffs_vfsops.c Add kernel side support for BIO_DELETE/TRIM on UFS. 2010-12-29 12:25:28 +00:00
ffs_vnops.c - Handle the truncation of an inode with an effective link count of 0 in 2010-07-06 07:11:04 +00:00
fs.h Use the native sector size of the device backing the UFS volume for SU+J 2011-02-12 12:52:12 +00:00
softdep.h Move the definition of mkdirlisthd from header to C file. 2010-12-29 12:16:06 +00:00