]> www.infradead.org Git - users/hch/misc.git/commit
xfs: simplify xfs_rw_bdev
authorChristoph Hellwig <hch@lst.de>
Thu, 10 Apr 2025 11:17:54 +0000 (13:17 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 Apr 2025 19:03:20 +0000 (14:03 -0500)
commitd6ad214bb373ac3df9f910afbeb9790f89dd1495
treebf70a2a5e3b0d57c053ac63e435d70e5b4459418
parent2f2709400e8c10a5f9cb2afe0ea7e1bef57e6ef6
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>
fs/xfs/xfs_bio_io.c