diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-05-20 09:34:43 -0400 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-11-04 15:53:03 -0400 |
commit | eac623ba7a91474a688eb5d0fcd0eaa6a56dc41c (patch) | |
tree | 59a355c616c3f8b717e73aac01af2f9e3ffdc60c /include/linux/bitrev.h | |
parent | 6f0f54499f2edf7e25410cdd99e6f030f3485fd1 (diff) | |
download | linux-eac623ba7a91474a688eb5d0fcd0eaa6a56dc41c.tar.gz linux-eac623ba7a91474a688eb5d0fcd0eaa6a56dc41c.tar.bz2 linux-eac623ba7a91474a688eb5d0fcd0eaa6a56dc41c.zip |
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 'include/linux/bitrev.h')
0 files changed, 0 insertions, 0 deletions