Meena,
This patch implicitly relies on correctness of the overhead field in the superblock. In the older kernels, online resize neglected to update the overhead field. Ted (or Lucas?) fixed that, but I don't know if that patch got cherry-picked for the older stable releases. I don't think my patch will work right without those fixes.
On 5/1/23, 10:26 PM, "Meena Shanmugam" <meenashanmugam@google.com mailto:meenashanmugam@google.com> wrote:
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
The commit 026d0d27c488 (ext4: reduce computation of overhead during resize) reduces the time taken to resize large bigalloc filesystems(reduces 3+ hours to milliseconds for a 64TB FS). This is a good candidate to cherry-pick to stable releases.
Kiselev, Oleg (1): ext4: reduce computation of overhead during resize
fs/ext4/resize.c | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-)
-- 2.40.1.495.gc816e09b53d-goog