Matthew Wilcox eac623ba7a NVMe: Add the nvme thread to the wait queue before waking it up
If the I/O was not completed by a single NVMe command, we add the
bio to the congestion list and wake up the kthread to resubmit it.
But the kthread calls remove_wait_queue() unconditionally, which
will oops if it's not on the wait queue.  So add the kthread to
the wait queue before waking it up.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
2011-11-04 15:53:03 -04:00
..
2011-05-26 21:06:50 +02:00
2011-07-26 16:49:47 -07:00
2011-05-06 08:27:00 -06:00
2011-03-10 08:52:07 +01:00
2011-11-04 15:52:51 -04:00
2011-11-04 15:52:51 -04:00
2009-03-26 21:15:27 +01:00
2011-03-31 11:26:23 -03:00
2008-10-21 07:48:11 -04:00