]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
mke2fs: don't set stripe/stride to 1 block
authorEric Sandeen <sandeen@redhat.com>
Mon, 4 Apr 2011 19:11:52 +0000 (15:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 18 May 2011 17:19:57 +0000 (13:19 -0400)
commitd568782ade9b630a6f28f24b1357fc89a6ba8286
tree08f3329a9fcdd5e5932b14a5f96b6692f63d1be6
parent1760d167b2c0f91069a8b6e4a8fef1a5bc0f9ed1
mke2fs: don't set stripe/stride to 1 block

Block devices may set minimum or optimal IO hints equal to
blocksize; in this case there is really nothing for ext4
to do with this information (i.e. search for a block-aligned
allocation?) so don't set fs geometry with single-block
values.

Zeev also reported that with a block-sized stripe, the
ext4 allocator spends time spinning in ext4_mb_scan_aligned(),
oddly enough.

Reported-by: Zeev Tarantov <zeev.tarantov@gmail.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mke2fs.c