]> Pileus Git - ~andy/linux/commit
NVMe: Call put_nvmeq() before calling nvme_submit_sync_cmd()
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Feb 2011 21:14:30 +0000 (16:14 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:55 +0000 (15:52 -0400)
commitb1ad37efcafe396ac3944853589688dd0ec3c64e
tree49f8d3fa7080ccf85edbb75239e98a89cdd037c9
parent3c0cf138d7789feb3f335f6f1d24ad8fc8b3a23f
NVMe: Call put_nvmeq() before calling nvme_submit_sync_cmd()

We can't have preemption disabled when we call schedule().  Accept the
possibility that we'll get preempted, and it'll cost us some cacheline
bounces.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c