]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: consolidate synchronous command submission helpers
authorChristoph Hellwig <hch@lst.de>
Fri, 22 May 2015 09:12:38 +0000 (11:12 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:31:42 +0000 (16:31 -0700)
commitdd52dfa6d64c1945956c99d4a9ee3373315a09e0
tree1ce3ec6db50fa72217ffa0c43fb34eb902e4b92f
parent5039ff6dc23fca6ad65f44370e1a112e99f5bd4a
nvme: consolidate synchronous command submission helpers

Note that we keep the unused timeout argument, but allow callers to
pass 0 instead of a timeout if they want the default.  This will allow
adding a timeout to the pass through path later on.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit f705f837c58ebe1ea69dfffff4dcc234e2fbc8dd)

Orabug: 22620486
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
Conflicts:
drivers/block/nvme-core.c
drivers/block/nvme-core.c
drivers/block/nvme-scsi.c
include/linux/nvme.h