浏览代码

rbd: rbd_wq comment is obsolete

After the switch to blk-mq rbd_wq processes requests, not devices.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov 10 年之前
父节点
当前提交
f77303bdda
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/block/rbd.c

+ 1 - 1
drivers/block/rbd.c

@@ -5687,7 +5687,7 @@ static int __init rbd_init(void)
 
 	/*
 	 * The number of active work items is limited by the number of
-	 * rbd devices, so leave @max_active at default.
+	 * rbd devices * queue depth, so leave @max_active at default.
 	 */
 	rbd_wq = alloc_workqueue(RBD_DRV_NAME, WQ_MEM_RECLAIM, 0);
 	if (!rbd_wq) {