Re: [PATCH v1 1/1] erofs-utils: lib: Fix calculation of minextblks when working with sparse files

2024-04-03 Thread Sandeep Dhavale via Linux-erofs
Hi Gao, Thank you for the review. I will update and send the v2. Thanks, Sandeep.

Re: [PATCH v1 1/1] erofs-utils: lib: Fix calculation of minextblks when working with sparse files

2024-04-03 Thread Gao Xiang
Hi Sandeep, On 2024/4/3 14:23, Sandeep Dhavale wrote: When we work with sparse files (files with holes), we need to consider when the contiguous data block starts after each hole to correctly calculate minextblks so we can merge consecutive chunks later. Now that we need to recalculate

[PATCH v1 1/1] erofs-utils: lib: Fix calculation of minextblks when working with sparse files

2024-04-03 Thread Sandeep Dhavale via Linux-erofs
When we work with sparse files (files with holes), we need to consider when the contiguous data block starts after each hole to correctly calculate minextblks so we can merge consecutive chunks later. Now that we need to recalculate minextblks multiple places, put the logic in helper function for