From: Keith Busch Date: Wed, 10 Sep 2014 21:48:47 +0000 (-0600) Subject: NVMe: Fix nvmeq waitqueue entry initialization X-Git-Tag: omap-for-v3.19/fixes-rc1~94^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7be50e93fbc281967589a04be5b1125539b0d0e2;p=pandora-kernel.git 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 Signed-off-by: Matthew Wilcox Signed-off-by: Jens Axboe --- Reading git-diff-tree failed