浏览代码

null_blk: add an usage for shared tags in documentation

Add usage explanation for a shared_tags, introduced by commit:

82f402fefa50 ("null_blk: add support for shared tags")

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>

Reworded slightly.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Minwoo Im 7 年之前
父节点
当前提交
bf9fc98b73
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Documentation/block/null_blk.txt

+ 5 - 0
Documentation/block/null_blk.txt

@@ -77,3 +77,8 @@ use_lightnvm=[0/1]: Default: 0
 no_sched=[0/1]: Default: 0
 no_sched=[0/1]: Default: 0
   0: nullb* use default blk-mq io scheduler.
   0: nullb* use default blk-mq io scheduler.
   1: nullb* doesn't use io scheduler.
   1: nullb* doesn't use io scheduler.
+
+shared_tags=[0/1]: Default: 0
+  0: Tag set is not shared.
+  1: Tag set shared between devices for blk-mq. Only makes sense with
+     nr_devices > 1, otherwise there's no tag set to share.