Re: [dm-devel] [PATCH V3 08/13] block: prepare for supporting bio_list via other link

2021-03-26 Thread Hannes Reinecke
On 3/24/21 1:19 PM, Ming Lei wrote: So far bio list helpers always use .bi_next to traverse the list, we will support to link bios by other bio field. Prepare for such support by adding a macro so that users can define another helpers for linking bios by other bio field. Signed-off-by: Ming

[dm-devel] [PATCH V3 08/13] block: prepare for supporting bio_list via other link

2021-03-24 Thread Ming Lei
So far bio list helpers always use .bi_next to traverse the list, we will support to link bios by other bio field. Prepare for such support by adding a macro so that users can define another helpers for linking bios by other bio field. Signed-off-by: Ming Lei --- include/linux/bio.h | 132