]> git.baikalelectronics.ru Git - kernel.git/commit
block: add bio_add_zone_append_page
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Thu, 4 Feb 2021 10:21:40 +0000 (19:21 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Feb 2021 23:52:19 +0000 (00:52 +0100)
commitd0d4af1e3a266dcc8fcd505487eb2e20a8dc1739
tree76a1b371e413ffc649dab57d842ad9bde5e04227
parent4301a1ce088fa01d599ae75cf34fdf85ce0c2bfb
block: add bio_add_zone_append_page

Add bio_add_zone_append_page(), a wrapper around bio_add_hw_page() which
is intended to be used by file systems that directly add pages to a bio
instead of using bio_iov_iter_get_pages().

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
block/bio.c
include/linux/bio.h