Skip to content

Commit

Permalink
rbd: rbd_wq comment is obsolete
Browse files Browse the repository at this point in the history
After the switch to blk-mq rbd_wq processes requests, not devices.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
  • Loading branch information
Ilya Dryomov committed Apr 22, 2015
1 parent 7c1c474 commit f77303b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/rbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f77303b

Please sign in to comment.