diff options
author | Christoph Hellwig <hch@lst.de> | 2025-05-07 14:04:34 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-05-07 07:31:07 -0600 |
commit | 65f8e62593e64f6991ece4f08ab9e147e62df488 (patch) | |
tree | 9863659ee9b44ab41b614d02e3a403164bd49a34 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a216081323a1391991c9073fed2459265bfc7f5c (diff) |
gfs2: use bdev_rw_virt in gfs2_read_super
Switch gfs2_read_super to allocate the superblock buffer using kmalloc
which falls back to the page allocator for PAGE_SIZE allocation but
gives us a kernel virtual address and then use bdev_rw_virt to perform
the synchronous read into it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20250507120451.4000627-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions