summaryrefslogtreecommitdiff
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2021-01-11 20:26:16 -0800
committerChristoph Hellwig <hch@lst.de>2021-02-02 10:26:11 +0100
commit193fcf371f9e3705c14a0bf1d4bfc44af0f7c124 (patch)
treee03131156e5412e1ac1db076e861fe2606d86083 /include/linux/nvme.h
parent3c7b224f1956ed232b24ed2eb2c54e4476c6acb2 (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 <chaitanya.kulkarni@wdc.com> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/nvme.h')
0 files changed, 0 insertions, 0 deletions