Do we really need parallel resizer?

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

 



Hi Andreas,

I noticed that resize is protected by resize_lock.  Then parallel
resizer works.  However, I think there is no need to make parallel
resizer work.

I think we can use an atomic integer 'resize_flag' instead of
resize_lock,  resize_flag is set to 1 before the kernel does resizing
work,  while resize_flag is set to 0 after the kernel finishes
resizing work.  Resizing is allowed only if resize_flag is 0.  If
resize_flag is 1, kernel returns -EBUSY to userspace.

What about your opinion?

Yongqiang.

-- 
Best Wishes
Yongqiang Yang
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux