]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: use blk API to remap ref tags for IOs with metadata
authorMax Gurtovoy <maxg@mellanox.com>
Sun, 29 Jul 2018 21:15:33 +0000 (00:15 +0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 30 Jul 2018 14:27:04 +0000 (08:27 -0600)
commit1ffa13d61de90005f7f7513342db64eaa38e251a
treefbaf3b684a2bc832edf2a68e8ce4d983a23bfae6
parent3f17ffe49cbdbef11ddedfdc40ec657cc0eafe71
nvme: use blk API to remap ref tags for IOs with metadata

Also moved the logic of the remapping to the nvme core driver instead
of implementing it in the nvme pci driver. This way all the other nvme
transport drivers will benefit from it (in case they'll implement metadata
support).

Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c