diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-02-06 09:01:00 -0500 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-11-04 15:52:56 -0400 |
commit | ec6ce618d65b5ce1bef83a5509255107a0feac44 (patch) | |
tree | c28e35b52fed671c47eae0017cb9df02f66a7d2b /lib/string_helpers.c | |
parent | 48e3d39816416b3bf03dee3a796c0c04427c1a31 (diff) |
NVMe: Need to lock queue during interrupt handling
If we're sharing a queue between multiple CPUs and we cancel a sync I/O,
we must have the queue locked to avoid corrupting the stack of the thread
that submitted the I/O. It turns out this is the same locking that's needed
for the threaded irq handler, so share that code.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions