From f26f66d866ba1a9f3204e6fdfe2b07e67b5492ad Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 21:41:32 +0200 Subject: Adding upstream version 2.8. Signed-off-by: Daniel Baumann --- Documentation/nvme-write-zeroes.txt | 115 ++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 Documentation/nvme-write-zeroes.txt (limited to 'Documentation/nvme-write-zeroes.txt') diff --git a/Documentation/nvme-write-zeroes.txt b/Documentation/nvme-write-zeroes.txt new file mode 100644 index 0000000..0daf320 --- /dev/null +++ b/Documentation/nvme-write-zeroes.txt @@ -0,0 +1,115 @@ +nvme-write-zeroes(1) +==================== + +NAME +---- +nvme-write-zeroes - Send an NVMe write zeroes command, return results + +SYNOPSIS +-------- +[verse] +'nvme-write-zeroes' [--start-block= | -s ] + [--block-count= | -c ] + [--ref-tag= | -r ] + [--prinfo= | -p ] + [--app-tag-mask= | -m ] + [--app-tag= | -a ] [--deac | -d] + [--limited-retry | -l] [--force-unit-access | -f] + [--namespace-id= | -n ] + [--storage-tag | -S ] + [--storage-tag-check | -C ] + [--dir-type= | -T ] + [--dir-spec= | -D ] + [--output-format= | -o ] [--verbose | -v] + +DESCRIPTION +----------- +The Write Zeroes command is used to set a range of logical blocks to 0. + +OPTIONS +------- +-s :: +--start-block=:: + Start block. + +-c :: +--block-count=:: + Number of logical blocks to write zeroes. + +-p :: +--prinfo=:: + Protection Information field definition. ++ +[] +|================= +|Bit|Description +|3|PRACT: Protection Information Action. When set to 1, PI is stripped/inserted +on read/write when the block format's metadata size is 8. When set to 0, +metadata is passes. +|2:0|PRCHK: Protection Information Check: +|2|Set to 1 enables checking the guard tag +|1|Set to 1 enables checking the application tag +|0|Set to 1 enables checking the reference tag +|================= + +-r :: +--ref-tag=:: + Optional reftag when used with protection information. + +-m :: +--app-tag-mask=:: + Optional application tag mask when used with protection information. + +-a :: +--app-tag=:: + Optional application tag when used with protection information. + +-l:: +--limited-retry:: + Sets the limited retry flag. + +-d:: +--deac:: + Sets the DEAC bit, requesting controller deallocate the logical blocks. + +-f:: +--force-unit-access:: + Set the force-unit access flag. + +-n :: +--namespace-id=:: + Namespace ID use in the command. + +-S :: +--storage-tag=:: + Variable Sized Logical Block Storage Tag(LBST). + +-C :: +--storage-tag-check=:: + This bit specifies the Storage Tag field shall be checked as part of end-to-end + data protection processing. + +-T :: +--dir-type=:: + Directive type + +-D :: +--dir-spec=:: + Directive specific + +-o :: +--output-format=:: + Set the reporting format to 'normal', 'json' or 'binary'. Only one + output format can be used at a time. + +-v:: +--verbose:: + Increase the information detail in the output. + +EXAMPLES +-------- +No examples yet. + +NVME +---- +Part of the nvme-user suite -- cgit v1.2.3