]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: move nvme_setup_flush and nvme_setup_rw to common code
authorChristoph Hellwig <hch@lst.de>
Fri, 16 Oct 2015 05:58:40 +0000 (07:58 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:36 +0000 (13:40 -0700)
commitba9b94815b2748b6e2dc6c3a8a9cd3b8ba208e22
tree3576324bcee8393669f5d4f1f36b2dbf97fa7b04
parent24d8719fbcb4c81bd283e77f0c4467e7da1a701d
nvme: move nvme_setup_flush and nvme_setup_rw to common code

And mark them inline so that we don't slow down the I/O submission path by
having to turn it into a forced out of line call.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 22944e9981db1e496d983298fd420a8c6b758c80)

Orabug: 25130845
Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c