Re: [Devel] [PATCH v3 VZ9] drivers/md/ploop: rework preallocation algorithm

2025-07-07 Thread Pavel Tikhomirov
On 7/7/25 14:36, Pavel Tikhomirov wrote: - Make preallocations absolute instead of relative in ploop_req_prealloc(). Thus only request what is really needed. - Rename s/ploop_pending_prealloc/ploop_no_pending_prealloc/ as it returns true in case of no pending prealloc. - Make ploop_preal

[Devel] [PATCH v3 VZ9] drivers/md/ploop: rework preallocation algorithm

2025-07-06 Thread Pavel Tikhomirov
- Make preallocations absolute instead of relative in ploop_req_prealloc(). Thus only request what is really needed. - Rename s/ploop_pending_prealloc/ploop_no_pending_prealloc/ as it returns true in case of no pending prealloc. - Make ploop_preallocate_cluster() return error on unexpected file