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

On Tue, 03 Nov 2026 09:36:39 +0100, Denis V. Lunev wrote:
> - a pio that passed the check before the flag was set takes its ref on
>   the new index or on the already killed old one. The cmd does not
>   wait for it, and it runs while a merge, resize or delta index update
>   rewrites the BAT levels and deltas[];

Item 1 of the cover letter reply: add notify_merged to that list.

Why: ploop_delta_clusters_merged() stops submission the same way and
renumbers deltas[], so it is hit by the same race. The code is fine,
the RCU section and the grace period before the index switch close
both races.

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