Whamcloud - gitweb
resize2fs: enforce restrictions if the kernel doesn't do meta_bg resizing
authorTheodore Ts'o <tytso@mit.edu>
Thu, 13 Sep 2012 20:56:36 +0000 (16:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 14 Sep 2012 03:09:49 +0000 (23:09 -0400)
commit06ca8da745767d139f79fe1a5842be064313bf71
tree8f6012396ee8c8c5e11664f456b50a9b3d1633c2
parenta4b738c0bf8ed3dfcbfab993f942e9bf3a7d4715
resize2fs: enforce restrictions if the kernel doesn't do meta_bg resizing

Enhance the online resizing code to be more nuanced about resizing
restrictions.  If the kernel supports meta_bg resizing, then we can
skip all of the restrictions.  If the kernel does not support meta_bg
resizing, check more carefully to make sure there are enough reserved
gdt blocks, so that the user gets a clearer error message.

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