On 12/6/24 05:55, Alexander Atanasov wrote:
  static bool ploop_delay_if_md_busy(struct ploop *ploop, struct md_page *md,
@@ -807,10 +799,9 @@ static void ploop_advance_local_after_bat_wb(struct ploop 
*ploop,
wait_llist_pending = llist_del_all(&md->wait_llist);
        if (wait_llist_pending) {
-               wait_llist_pending = llist_reverse_order(wait_llist_pending);
                llist_for_each_safe(pos, t, wait_llist_pending) {
                        pio = list_entry((struct list_head *)pos, typeof(*pio), 
list);
-                       list_add_tail(&pio->list, &list);
+                       list_add(&pio->list, &list);
                }
        }

This fixup-hunk belongs to "[RFC PATCH vz9 v6 07/62] dm-ploop: convert wait_list and wb_batch_llist to use lockless lists".

--
Best regards, Tikhomirov Pavel
Senior Software Developer, Virtuozzo.

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to