diff options
author | Chaitanya Kulkarni <[email protected]> | 2021-01-11 20:26:16 -0800 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2021-02-02 10:26:11 +0100 |
commit | 193fcf371f9e3705c14a0bf1d4bfc44af0f7c124 (patch) | |
tree | e03131156e5412e1ac1db076e861fe2606d86083 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3c7b224f1956ed232b24ed2eb2c54e4476c6acb2 (diff) |
nvmet: add lba to sect conversion helpers
In this preparation patch, we add helpers to convert lbas to sectors &
sectors to lba. This is needed to eliminate code duplication in the ZBD
backend.
Use these helpers in the block device backend.
Signed-off-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions