summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-01-26 17:52:47 +0300
committerJens Axboe <axboe@kernel.dk>2021-01-27 19:51:49 +0300
commit48d15436fde6feebcded7bd0fdc8ea4a9181b8fa (patch)
tree2662d4a0b4e595433ae4caa57c4f2c437c7a7fc9 /tools/perf/scripts/python/exported-sql-viewer.py
parent64820ac6c6962f76d164fa690deaa688d59278e2 (diff)
downloadlinux-48d15436fde6feebcded7bd0fdc8ea4a9181b8fa.tar.xz
mm: remove get_swap_bio
Just reuse the block_device and sector from the swap_info structure, just as used by the SWP_SYNCHRONOUS path. Also remove the checks for NULL returns from bio_alloc as that can't happen for sleeping allocations. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Acked-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions