]> www.infradead.org Git - users/hch/misc.git/commit
btrfs: use bdev_rw_virt in scrub_one_super
authorChristoph Hellwig <hch@lst.de>
Wed, 7 May 2025 12:04:42 +0000 (14:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 May 2025 13:31:07 +0000 (07:31 -0600)
commit760aa1818b040c8ec6a1ee9cea1ea8cac0735ce3
treec76ea6a5d64d04c73e9dc17b2ca22fe1a68da065
parent5ced480d4886b12e6a2058ac3ebd749b0ff14573
btrfs: use bdev_rw_virt in scrub_one_super

Replace the code building a bio from a kernel direct map address and
submitting it synchronously with the bdev_rw_virt helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: David Sterba <dsterba@suse.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Link: https://lore.kernel.org/r/20250507120451.4000627-19-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/btrfs/scrub.c