I won't apply this version, please send v2 with the changes below.

On Tue, 03 Nov 2026 09:36:40 +0100, Denis V. Lunev wrote:
> ploop_allocate_cluster() until some later request wakes the thread. The

Item 2 of the cover letter reply: drop "until some later request wakes
the thread".

Why: ploop_req_prealloc() returns without a wakeup when the requested
size is already covered by prealloc_size, so later requests in the same
range do not wake the thread either. The stall does not end by itself.

Item 2 of the cover letter reply: add one sentence that the same
reorder fixes a lost kthread_stop() wakeup.

Why: the old loop tested kthread_should_stop() and only then set the
task state, so a kthread_stop() landing in between was lost the same
way and the device removal hung.

With that fixed:

Reviewed-by: Konstantin Khorenko <[email protected]>

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to