NVMe: Add shutdown timeout as module parameter.
authorDan McLeran <daniel.mcleran@intel.com>
Tue, 1 Jul 2014 15:33:32 +0000 (09:33 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 4 Nov 2014 20:17:08 +0000 (13:17 -0700)
commit2484f40780b97df1b5eb09e78ce4efaa78b21875
tree5de1151b759014f8b25b4936279902520b47deb0
parent7c1b24503873e6cfc1d31f2e55c35358fd438351
NVMe: Add shutdown timeout as module parameter.

The current implementation hard-codes the shutdown timeout to 2 seconds.
Some devices take longer than this to complete a normal shutdown.
Changing the shutdown timeout to a module parameter with a default
timeout of 5 seconds.

Signed-off-by: Dan McLeran <daniel.mcleran@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c