[Devel] [RFC PATCH vz9 v6 11/62] dm-ploop: combine processing of pios thru prepare list and remove fsync worker
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Thu Jan 9 11:26:53 MSK 2025
On 12/6/24 05:55, Alexander Atanasov wrote:
> @@ -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);
> }
> }
AFAICS, this hunk and corresponding hunk from "[RFC PATCH vz9 v6 10/62]
dm-ploop: convert the rest of the lists to use llist variant" should be
merged into "[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.
More information about the Devel
mailing list