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)
committerJens Axboe <axboe@fb.com>
Tue, 1 Dec 2015 17:59:39 +0000 (10:59 -0700)
commit22944e9981db1e496d983298fd420a8c6b758c80
tree8cc83bdb72511b6d5e2d1416cc362874014b7dba
parent15a190f7f57a2e46717490c35ac09882042a200b
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>
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c