]> www.infradead.org Git - users/hch/misc.git/commit
xfs: simplify xfs_rw_bdev
authorChristoph Hellwig <hch@lst.de>
Wed, 7 May 2025 12:04:40 +0000 (14:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 May 2025 13:31:07 +0000 (07:31 -0600)
commitd486bbecc90d86e0292071bd06322543f8f5f658
treedfa555dfe92fdc09a04c7729628087e816fa5385
parent9dccf2aa6ed5fa6ee92c8d71868bf3762ae85bda
xfs: simplify xfs_rw_bdev

Delegate to bdev_rw_virt when operating on non-vmalloc memory and use
bio_add_vmalloc_chunk to insulate xfs from the details of adding vmalloc
memory to a bio.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20250507120451.4000627-17-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/xfs/xfs_bio_io.c