From dc597ce8df5ae6efd2728a2d7ba7d92486028f79 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 2 Jul 2021 22:40:30 +0200 Subject: Adding upstream version 1.12. Signed-off-by: Daniel Baumann --- Documentation/nvme-write-zeroes.txt | 87 +++++++++++++++++++++++++++++++++++++ 1 file changed, 87 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..02adee1 --- /dev/null +++ b/Documentation/nvme-write-zeroes.txt @@ -0,0 +1,87 @@ +nvme-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 ] + +DESCRIPTION +----------- +The Write Zeroes command is used to set a range of logical blocks to 0. + +OPTIONS +------- +--start-block=:: +-s :: + Start block. + +--block-count=:: +-c :: + Number of logical blocks to write zeroes. + +--prinfo=:: +-p :: + 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 +|================= + +--ref-tag=:: +-r :: + Optional reftag when used with protection information. + +--app-tag-mask=:: +-m :: + Optional application tag mask when used with protection information. + +--app-tag=:: +-a :: + Optional application tag when used with protection information. + +--limited-retry:: +-l:: + Sets the limited retry flag. + +--deac:: +-d:: + Sets the DEAC bit, requesting controller deallocate the logical blocks. + +--force-unit-access:: +-f:: + Set the force-unit access flag. + +--namespace-id=:: +-n :: + Namespace ID use in the command. + +EXAMPLES +EXAMPLES +-------- +No examples yet. + +NVME +---- +Part of the nvme-user suite -- cgit v1.2.3