Skip to content

Commit 05e88b8

Browse files
committed
docs: update with new --block-size= argument for compare/read/write
Signed-off-by: Nate Thornton <[email protected]>
1 parent 8f043c5 commit 05e88b8

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

Documentation/nvme-compare.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ SYNOPSIS
1010
[verse]
1111
'nvme-compare' <device> [--start-block=<slba> | -s <slba>]
1212
[--block-count=<nlb> | -c <nlb>]
13+
[--block-size=<size> | -b <size>]
1314
[--data-size=<size> | -z <size>]
1415
[--metadata-size=<metasize> | -y <metasize>]
1516
[--ref-tag=<reftag> | -r <reftag>]
@@ -52,6 +53,12 @@ OPTIONS
5253
--block-count=<nlb>::
5354
Number of blocks to be accessed (zero-based).
5455

56+
-b <size>::
57+
--block-size=<size>::
58+
If specified, the logical block size in bytes, with metasize
59+
also describing the metadata size for an individual block.
60+
Discovered by identify namespace otherwise.
61+
5562
-z <size>::
5663
--data-size=<size>::
5764
Size of data to be compared in bytes.

Documentation/nvme-read.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ SYNOPSIS
1010
[verse]
1111
'nvme-read' <device> [--start-block=<slba> | -s <slba>]
1212
[--block-count=<nlb> | -c <nlb>]
13+
[--block-size=<size> | -b <size>]
1314
[--data-size=<size> | -z <size>]
1415
[--metadata-size=<size> | -y <size>]
1516
[--ref-tag=<reftag> | -r <reftag>]
@@ -45,6 +46,12 @@ OPTIONS
4546
align with the kernel's use of this field. (ie. 0 means transfer
4647
1 block).
4748

49+
-b <size>::
50+
--block-size=<size>::
51+
If specified, the logical block size in bytes, with metasize
52+
also describing the metadata size for an individual block.
53+
Discovered by identify namespace otherwise.
54+
4855
-z <size>::
4956
--data-size=<size>::
5057
Size of data, in bytes.

Documentation/nvme-write.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ SYNOPSIS
1010
[verse]
1111
'nvme-write' <device> [--start-block=<slba> | -s <slba>]
1212
[--block-count=<nlb> | -c <nlb>]
13+
[--block-size=<size> | -c <size>]
1314
[--data-size=<size> | -z <size>]
1415
[--metadata-size=<size> | -y <size>]
1516
[--ref-tag=<reftag> | -r <reftag>]
@@ -45,6 +46,12 @@ OPTIONS
4546
align with the kernel's use of this field. (ie. 0 means transfer
4647
1 block).
4748

49+
-b <size>::
50+
--block-size=<size>::
51+
If specified, the logical block size in bytes, with metasize
52+
also describing the metadata size for an individual block.
53+
Discovered by identify namespace otherwise.
54+
4855
-z <size>::
4956
--data-size=<size>::
5057
Size of data, in bytes.

0 commit comments

Comments
 (0)