[Devel] [PATCH hci-8.1 2/3] dm-ploop: fix pios stuck in md->wait_llist after a failed BAT update

Konstantin Khorenko khorenko at virtuozzo.com
Tue Nov 10 20:11:13 MSK 2026


Applying with these fixes on my side:
- "No writeback of the page is queued, so they are never resubmitted"
  -> "They wait for the next writeback of the page, which never comes
  when every allocation on it fails";
- the failure causes moved into a paragraph of their own, as a "- "
  list.

On Mon, 9 Nov 2026 20:06:03 +0100, Denis V. Lunev wrote:
> MD_UPDATING and leaves the parked pios where they are. No writeback of
> the page is queued, so they are never resubmitted: the writers hang in

ploop_advance_local_after_bat_wb() drains md->wait_llist on every
writeback of the page, so after a single -ENOMEM the next write that
allocates on the same page frees the parked pios. The hang is
permanent only when every allocation on the page fails.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team



More information about the Devel mailing list