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

NVMe: Fix comment formatting

Reported-by: NRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: NMatthew Wilcox <matthew.r.wilcox@intel.com>
上级 714a7a22
...@@ -182,7 +182,8 @@ static int alloc_cmdid_killable(struct nvme_queue *nvmeq, void *ctx, ...@@ -182,7 +182,8 @@ static int alloc_cmdid_killable(struct nvme_queue *nvmeq, void *ctx,
return (cmdid < 0) ? -EINTR : cmdid; return (cmdid < 0) ? -EINTR : cmdid;
} }
/* If you need more than four handlers, you'll need to change how /*
* If you need more than four handlers, you'll need to change how
* alloc_cmdid and nvme_process_cq work. Consider using a special * alloc_cmdid and nvme_process_cq work. Consider using a special
* CMD_CTX value instead, if that works for your situation. * CMD_CTX value instead, if that works for your situation.
*/ */
...@@ -1066,7 +1067,8 @@ static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) ...@@ -1066,7 +1067,8 @@ static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio)
prps = nvme_setup_prps(dev, &c.common, sg, length); prps = nvme_setup_prps(dev, &c.common, sg, length);
nvmeq = get_nvmeq(ns); nvmeq = get_nvmeq(ns);
/* Since nvme_submit_sync_cmd sleeps, we can't keep preemption /*
* Since nvme_submit_sync_cmd sleeps, we can't keep preemption
* disabled. We may be preempted at any point, and be rescheduled * disabled. We may be preempted at any point, and be rescheduled
* to a different CPU. That will cause cacheline bouncing, but no * to a different CPU. That will cause cacheline bouncing, but no
* additional races since q_lock already protects against other CPUs. * additional races since q_lock already protects against other CPUs.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册