Whamcloud - gitweb
tune2fs: Fix tune2fs -I so it won't corrupt RAID filesystems
authorTheodore Ts'o <tytso@mit.edu>
Tue, 20 Jan 2009 16:49:17 +0000 (11:49 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 20 Jan 2009 16:49:17 +0000 (11:49 -0500)
commit31f1815fa9a1b7ca41afdf6d364a6474eba8b6d1
tree7b22ed9daa9fbbb09ad24e47cdf70d80da2af26b
parentec43da2f35c54589e8aa0663d9cf44f86895242a
tune2fs: Fix tune2fs -I so it won't corrupt RAID filesystems

If a filesystem is built with the stride extended-option (which is
often used in RAID filesystems to make sure the block and inode
allocation bitmaps don't end up hitting one disk platter harder than
the rest), this can cause tune2fs -I to corrupt the filesystem because
it fails to handle the case where the allocation bitmaps are located
after the inode table, where the inode table needs to grow.  Handle
this case correctly.

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