Home
last modified time | relevance | path

Searched hist:"193 fcf371f9e3705c14a0bf1d4bfc44af0f7c124" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/nvme/target/
H A Dio-cmd-bdev.cdiff 193fcf371f9e3705c14a0bf1d4bfc44af0f7c124 Mon Jan 11 22:26:16 CST 2021 Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> 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>
H A Dnvmet.hdiff 193fcf371f9e3705c14a0bf1d4bfc44af0f7c124 Mon Jan 11 22:26:16 CST 2021 Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> 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>