]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nvme: consolidate synchronous command submission helpers
authorChristoph Hellwig <hch@lst.de>
Fri, 22 May 2015 09:12:38 +0000 (11:12 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 22 May 2015 14:36:31 +0000 (08:36 -0600)
commitf705f837c58ebe1ea69dfffff4dcc234e2fbc8dd
tree3ee19fdafd50d3fedff621e17ea7d1117c8e4c13
parent6a9270075858a0586bc1a8415263e8d1134550f6
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>
drivers/block/nvme-core.c
drivers/block/nvme-scsi.c
include/linux/nvme.h