aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2019-10-21 12:40:04 +0900
committerJens Axboe <axboe@kernel.dk>2019-11-04 10:56:41 -0700
commite08f2ae850929d40e66268ee47e443e7ea56eeb7 (patch)
treefa7600498204fb0c479510dcfd3d084c1fc5b868 /tools/perf/scripts/python/exported-sql-viewer.py
parent314d48dd224897e35ddcaf5a1d7d133b5adddeb7 (diff)
nvme: Introduce nvme_lba_to_sect()
Introduce the new helper function nvme_lba_to_sect() to convert a device logical block number to a 512B sector number. Use this new helper in obvious places, cleaning up the code. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Keith Busch <kbusch@kernel.org> 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