diff mbox

null_blk: fix default values in documentation

Message ID 1510060981-24352-1-git-send-email-minwoo.im.dev@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Minwoo Im Nov. 7, 2017, 1:23 p.m. UTC
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>
---
 Documentation/block/null_blk.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jens Axboe Nov. 7, 2017, 4:23 p.m. UTC | #1
On 11/07/2017 06:23 AM, Minwoo Im wrote:
> 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.

Thanks, applied.
diff mbox

Patch

diff --git a/Documentation/block/null_blk.txt b/Documentation/block/null_blk.txt
index b7161c8..fcf7f84 100644
--- a/Documentation/block/null_blk.txt
+++ b/Documentation/block/null_blk.txt
@@ -38,7 +38,7 @@  gb=[Size in GB]: Default: 250GB
 bs=[Block size (in bytes)]: Default: 512 bytes
   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,
   etc.
 
@@ -52,7 +52,7 @@  irqmode=[0-2]: Default: 1-Soft-irq
   2: Timer: Waits a specific period (completion_nsec) for each IO before
      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.
 
 submit_queues=[1..nr_cpus]: