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 <[email protected]>
---
block/blk.h | 10 ++++++++++
include/linux/bvec.h | 8 ++++++++
2 files changed, 18 insertions(+)
Reviewed-by: Hannes Reinecke <[email protected]>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
[email protected] +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel