[Devel] [PATCH hci-8.2 v9 8/9] dm-ploop: reload metadata on resume

Konstantin Khorenko khorenko at virtuozzo.com
Thu Nov 19 15:11:47 MSK 2026


I won't apply this version, please send v10, items 1 and 2 of the
cover letter reply.

On Thu, 19 Nov 2026 12:34:45 +0100, Alexander Ivanov wrote:
> a ploop of a reloaded table. Only the operation already in flight is
> left unfenced. Messages to the suspended device (e.g. resize) still get

Not only that one: ploop_postsuspend() calls ploop_stop_prealloc()
before it takes ctl_rwsem and sets ->suspended, so a resize running in
between ends with ->suspended false, does not drop its request, and the
old allocator can still ftruncate() the top delta after the next table
has grown it. libploop does not send a message during suspend, but the
sentence should hold.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team



More information about the Devel mailing list