Commit e8815241 authored by Minwoo Im's avatar Minwoo Im Committed by Jens Axboe

null_blk: fix default values in documentation

null_blk.c has initial value of
(1) nr_devices as 1.
(2) completion_nsec as 10,000ns, not 10.000ns.
documentation should be updated for fixes above.
Signed-off-by: default avatarMinwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6a468d59
...@@ -38,7 +38,7 @@ gb=[Size in GB]: Default: 250GB ...@@ -38,7 +38,7 @@ gb=[Size in GB]: Default: 250GB
bs=[Block size (in bytes)]: Default: 512 bytes bs=[Block size (in bytes)]: Default: 512 bytes
The block size reported to the system. The block size reported to the system.
nr_devices=[Number of devices]: Default: 2 nr_devices=[Number of devices]: Default: 1
Number of block devices instantiated. They are instantiated as /dev/nullb0, Number of block devices instantiated. They are instantiated as /dev/nullb0,
etc. etc.
...@@ -52,7 +52,7 @@ irqmode=[0-2]: Default: 1-Soft-irq ...@@ -52,7 +52,7 @@ irqmode=[0-2]: Default: 1-Soft-irq
2: Timer: Waits a specific period (completion_nsec) for each IO before 2: Timer: Waits a specific period (completion_nsec) for each IO before
completion. completion.
completion_nsec=[ns]: Default: 10.000ns completion_nsec=[ns]: Default: 10,000ns
Combined with irqmode=2 (timer). The time each completion event must wait. Combined with irqmode=2 (timer). The time each completion event must wait.
submit_queues=[1..nr_cpus]: submit_queues=[1..nr_cpus]:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment