why online shrink is not supported in EXT4_IOC_RESIZE_FS ioctl?

raphel johnson iraphel78 at gmail.com
Mon Aug 6 06:11:38 EDT 2012


Hi,

I referred EXT4_IOC_RESIZE_FS ioctl implementation in linux kernel ver
3.3.8.

Implementation specifies tht Online shrinking is not supported. Code is as
below.

 if (n_blocks_count < o_blocks_count) {
  /* On-line shrinking not supported */
  ext4_warning(sb, "can't shrink FS - resize aborted");
  return -EINVAL;
 }

Can anyone please tell the reason why online shrinking is not supported.

Thanks in adavance.

Regards,
Raphel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120806/1bf2169e/attachment.html 


More information about the Kernelnewbies mailing list