[dm-devel] [PATCH V3 06/13] block: add new field into 'struct bvec_iter'
Hannes Reinecke
hare at suse.de
Wed Mar 24 15:33:08 UTC 2021
On 3/24/21 1:19 PM, Ming Lei wrote:
> There is a hole at the end of 'struct bvec_iter', so put a new field
> here and we can save cookie returned from submit_bio() here for
> supporting bio based polling.
>
> This way can avoid to extend bio unnecessarily.
>
> Meantime add two helpers to get/set this field.
>
> Signed-off-by: Ming Lei <ming.lei at redhat.com>
> ---
> block/blk.h | 10 ++++++++++
> include/linux/bvec.h | 8 ++++++++
> 2 files changed, 18 insertions(+)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
More information about the dm-devel
mailing list