why online shrink is not supported in EXT4_IOC_RESIZE_FS ioctl?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux