[Devel] [PATCH hci-8.1 v7 09/10] dm-ploop: reload metadata on resume
Alexander Ivanov
alexander.ivanov at virtuozzo.com
Wed Nov 18 12:14:43 MSK 2026
On 11/17/26 19:23, Konstantin Khorenko wrote:
> I won't apply this version, please send v8 with the changes below.
>
> On Tue, 17 Nov 2026 18:17:43 +0100, Alexander Ivanov wrote:
>> +void ploop_wait_prealloc(struct ploop *ploop)
>> +{
>> + wait_event_killable(ploop->dispatcher_wq_prealloc,
>> + ploop_no_pending_prealloc(ploop));
>> +}
> Items 2-4 of the cover letter reply. Killing this wait lets the old
> allocator truncate the file to a stale size after the next table has
> grown it; the comment in ploop_postsuspend() admits it, but that loses
> data on the next load instead of hanging. Also wait for inflight_md in
> ploop_preresume(), as postsuspend does.
Fixed.
More information about the Devel
mailing list