projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7547881
)
NVMe: Mark CMD_CTX_CANCELLED as being unlikely
author
Matthew Wilcox
<matthew.r.wilcox@intel.com>
Tue, 22 Feb 2011 19:15:34 +0000
(14:15 -0500)
committer
Matthew Wilcox
<matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:59 +0000
(15:52 -0400)
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/nvme.c
b/drivers/block/nvme.c
index af45e286d5dda0ff5b143148d34b6f9746c3baee..ce919b49b30d9fd8b8234c0f572939585ff614e0 100644
(file)
--- a/
drivers/block/nvme.c
+++ b/
drivers/block/nvme.c
@@
-518,7
+518,7
@@
static void sync_completion(struct nvme_queue *nvmeq, void *ctx,
struct nvme_completion *cqe)
{
struct sync_cmd_info *cmdinfo = ctx;
- if (
(unsigned long)cmdinfo == CMD_CTX_CANCELLED
)
+ if (
unlikely((unsigned long)cmdinfo == CMD_CTX_CANCELLED)
)
return;
if (unlikely((unsigned long)cmdinfo == CMD_CTX_COMPLETED)) {
dev_warn(nvmeq->q_dmadev,
This page took
0.026041 seconds
and
5
git commands to generate.