diff options
author | Keith Busch <keith.busch@intel.com> | 2014-09-10 15:48:47 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-11-04 13:17:09 -0700 |
commit | 7be50e93fbc281967589a04be5b1125539b0d0e2 (patch) | |
tree | 264afa924cc6b7bf5d24efd5459c2eab7b51a0f4 /drivers/block/null_blk.c | |
parent | b4ff9c8ddb6f0cec99a53ab26a5aa2ed0162c472 (diff) | |
download | linux-7be50e93fbc281967589a04be5b1125539b0d0e2.tar.bz2 |
NVMe: Fix nvmeq waitqueue entry initialization
We need to update the nvme queue's wait_queue_t entry during each
initialization since the nvme_thread may be ended and restarted when
the device is reset. If a device reset occurs during a large amount
of buffered IO, it would take a lot longer to complete the outstanding
requests due to the 1 second polling instead of waking up as completions
occur.
Fixes: b9afca3efb18a9b8392cb544a3e29e8b1168400c
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/null_blk.c')
0 files changed, 0 insertions, 0 deletions