diff options
| author | Damien Le Moal <[email protected]> | 2019-10-21 12:40:03 +0900 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-11-04 10:56:41 -0700 |
| commit | 314d48dd224897e35ddcaf5a1d7d133b5adddeb7 (patch) | |
| tree | dbf7238ea8feb0078a99ec38094f4a1416ad8cdf /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 48c9e85b23464a7d1e3ebd70b79cc3a2d97d3222 (diff) | |
nvme: Cleanup and rename nvme_block_nr()
Rename nvme_block_nr() to nvme_sect_to_lba() and use SECTOR_SHIFT
instead of its hard coded value 9. Also add a comment to decribe this
helper.
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions