[Devel] [PATCH vz9 v1 05/63] dm-ploop: convert wait_list and wb_batch_llist to use lockless lists

Alexander Atanasov alexander.atanasov at virtuozzo.com
Mon Feb 10 09:19:45 MSK 2025


On 10.02.25 5:17, Pavel Tikhomirov wrote:
>> +        llist_for_each_safe(pos, t, wait_llist_pending) {
>> +            pio = list_entry((struct list_head *)pos, typeof(*pio), 
>> list);
> 
> Please use llist_for_each_entry_safe.

Sure, when the type is changed , this will go along with it.

-- 
Regards,
Alexander Atanasov



More information about the Devel mailing list