diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-09-24 11:57:06 +0200 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-05 14:06:59 +0200 |
| commit | 89572b7fdc7bf10806e1bcde0d9aeccc0d8b3fdb (patch) | |
| tree | 88d04656551c656511288b86d5f35abf7ebb6f54 /tools/perf/scripts/python/stackcollapse.py | |
| parent | dfe2d2d92df34f6ca9e19548fcc26b2e52a38552 (diff) | |
xfs: use bdev_rw_virt in xfs_verify_media
Use bdev_rw_virt for reading data from disk. This simply uses an
on-stack bio and bio_vec and removes the need to allocate an bio and
reset it for each iteration. Because bdev_rw_virt returns a negative
errno, pass that on to xfs_verify_media_error to avoid a double
conversion.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
