]> git.ipfire.org Git - thirdparty/linux.git/commit
block: add a bio_reuse helper
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Jan 2026 13:06:41 +0000 (14:06 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 21 Jan 2026 11:57:16 +0000 (12:57 +0100)
commit7ca44303f9f6160a2f87ae3d5d2326d9127cd61c
tree086776d9211d63edff93e02143681cd8ecffddd8
parentcf9b52fa7d65362b648927d1d752ec99659f5c43
block: add a bio_reuse helper

Add a helper to allow an existing bio to be resubmitted without
having to re-add the payload.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
block/bio.c
include/linux/bio.h