diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-05-20 17:34:43 +0400 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-11-04 23:53:03 +0400 |
commit | eac623ba7a91474a688eb5d0fcd0eaa6a56dc41c (patch) | |
tree | 59a355c616c3f8b717e73aac01af2f9e3ffdc60c /virt | |
parent | 6f0f54499f2edf7e25410cdd99e6f030f3485fd1 (diff) | |
download | linux-eac623ba7a91474a688eb5d0fcd0eaa6a56dc41c.tar.xz |
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions