提交 c4270559 编写于 作者: M Matthew Wilcox

NVMe: Mark CMD_CTX_CANCELLED as being unlikely

Signed-off-by: NMatthew Wilcox <matthew.r.wilcox@intel.com>
上级 7547881d
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册