diff options
author | 2023-07-24 09:54:27 -0700 | |
---|---|---|
committer | 2023-07-24 19:55:16 -0600 | |
commit | 6850b2dd5c25f27f7b74414553f047d4c12dd66c (patch) | |
tree | cdb131931e54a2383435d0b21532e6ff93e54fff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: tidy up the bio full checks in bio_add_hw_page (diff) | |
download | wireguard-linux-6850b2dd5c25f27f7b74414553f047d4c12dd66c.tar.xz wireguard-linux-6850b2dd5c25f27f7b74414553f047d4c12dd66c.zip |
block: use SECTOR_SHIFT bio_add_hw_page
Use the SECTOR_SHIFT magic constant instead of the magic number.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jinyoung Choi <j-young.choi@samsung.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20230724165433.117645-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions