Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4270559 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

NVMe: Mark CMD_CTX_CANCELLED as being unlikely

parent 7547881d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,