Whamcloud - gitweb
mke2fs: Fill in min_io and opt_io with physical sector size
authorTheodore Ts'o <tytso@mit.edu>
Mon, 22 Nov 2010 15:50:42 +0000 (10:50 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 22 Nov 2010 15:50:42 +0000 (10:50 -0500)
commit1599b470fb881313c1d44594f05d578c43825312
treeb0d17e7e100adfce7705b3c9acc21020c1ec9694
parentf89f54aff479af859ee483c907041bcc9c0698f8
mke2fs: Fill in min_io and opt_io with physical sector size

If the device does not have an explicitly specified minimum io_size or
optimal io_size, and the physical sector size is greater than the
block size, then use the physical sector size as a better-than-nothing
hint.

This should help for SSD's that have a physical sector size of 8k or
16k (which are reportedly will be coming soon).

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/mke2fs.c