diff options
author | Minwoo Im <minwoo.im.dev@gmail.com> | 2017-11-07 08:23:01 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-11-07 11:24:06 -0500 |
commit | e8815241173ebba4ccad490d4907b354b795fa5c (patch) | |
tree | d4dcfe79084e6c5aa95e06ba4888cf63bde677a3 /Documentation/block | |
parent | 6a468d5990ecd1c2d07dd85f8633bbdd0ba61c40 (diff) |
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: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/block')
-rw-r--r-- | Documentation/block/null_blk.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/block/null_blk.txt b/Documentation/block/null_blk.txt index b7161c8e70f2..fcf7f8487d8e 100644 --- a/Documentation/block/null_blk.txt +++ b/Documentation/block/null_blk.txt | |||
@@ -38,7 +38,7 @@ gb=[Size in GB]: Default: 250GB | |||
38 | bs=[Block size (in bytes)]: Default: 512 bytes | 38 | bs=[Block size (in bytes)]: Default: 512 bytes |
39 | The block size reported to the system. | 39 | The block size reported to the system. |
40 | 40 | ||
41 | nr_devices=[Number of devices]: Default: 2 | 41 | nr_devices=[Number of devices]: Default: 1 |
42 | Number of block devices instantiated. They are instantiated as /dev/nullb0, | 42 | Number of block devices instantiated. They are instantiated as /dev/nullb0, |
43 | etc. | 43 | etc. |
44 | 44 | ||
@@ -52,7 +52,7 @@ irqmode=[0-2]: Default: 1-Soft-irq | |||
52 | 2: Timer: Waits a specific period (completion_nsec) for each IO before | 52 | 2: Timer: Waits a specific period (completion_nsec) for each IO before |
53 | completion. | 53 | completion. |
54 | 54 | ||
55 | completion_nsec=[ns]: Default: 10.000ns | 55 | completion_nsec=[ns]: Default: 10,000ns |
56 | Combined with irqmode=2 (timer). The time each completion event must wait. | 56 | Combined with irqmode=2 (timer). The time each completion event must wait. |
57 | 57 | ||
58 | submit_queues=[1..nr_cpus]: | 58 | submit_queues=[1..nr_cpus]: |