From 7d1b462d1b24a9d5d90ce75697de10d26b2f7f74 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Wed, 19 Jan 2022 18:10:05 +0100 Subject: [PATCH] doc: Remove lightnvm documentation Commit fa49249 ("nvme: remove lightnvm") removed the implementation but missed to remove the documentation. Remove it now. While at it also remove it from bash-completion. Signed-off-by: Daniel Wagner --- Documentation/meson.build | 9 - Documentation/nvme-lnvm-create.1 | 100 --- Documentation/nvme-lnvm-create.html | 865 ------------------- Documentation/nvme-lnvm-create.txt | 60 -- Documentation/nvme-lnvm-diag-bbtbl.1 | 117 --- Documentation/nvme-lnvm-diag-bbtbl.html | 864 ------------------- Documentation/nvme-lnvm-diag-bbtbl.txt | 65 -- Documentation/nvme-lnvm-diag-set-bbtbl.1 | 99 --- Documentation/nvme-lnvm-diag-set-bbtbl.html | 869 -------------------- Documentation/nvme-lnvm-diag-set-bbtbl.txt | 63 -- Documentation/nvme-lnvm-factory.1 | 109 --- Documentation/nvme-lnvm-factory.html | 857 ------------------- Documentation/nvme-lnvm-factory.txt | 54 -- Documentation/nvme-lnvm-id-ns.1 | 88 -- Documentation/nvme-lnvm-id-ns.html | 847 ------------------- Documentation/nvme-lnvm-id-ns.txt | 48 -- Documentation/nvme-lnvm-info.1 | 48 -- Documentation/nvme-lnvm-info.html | 786 ------------------ Documentation/nvme-lnvm-info.txt | 27 - Documentation/nvme-lnvm-init.1 | 97 --- Documentation/nvme-lnvm-init.html | 833 ------------------- Documentation/nvme-lnvm-init.txt | 44 - Documentation/nvme-lnvm-list.1 | 48 -- Documentation/nvme-lnvm-list.html | 786 ------------------ Documentation/nvme-lnvm-list.txt | 27 - Documentation/nvme-lnvm-remove.1 | 53 -- Documentation/nvme-lnvm-remove.html | 800 ------------------ Documentation/nvme-lnvm-remove.txt | 32 - completions/bash-nvme-completion.sh | 65 -- 29 files changed, 8760 deletions(-) delete mode 100644 Documentation/nvme-lnvm-create.1 delete mode 100644 Documentation/nvme-lnvm-create.html delete mode 100644 Documentation/nvme-lnvm-create.txt delete mode 100644 Documentation/nvme-lnvm-diag-bbtbl.1 delete mode 100644 Documentation/nvme-lnvm-diag-bbtbl.html delete mode 100644 Documentation/nvme-lnvm-diag-bbtbl.txt delete mode 100644 Documentation/nvme-lnvm-diag-set-bbtbl.1 delete mode 100644 Documentation/nvme-lnvm-diag-set-bbtbl.html delete mode 100644 Documentation/nvme-lnvm-diag-set-bbtbl.txt delete mode 100644 Documentation/nvme-lnvm-factory.1 delete mode 100644 Documentation/nvme-lnvm-factory.html delete mode 100644 Documentation/nvme-lnvm-factory.txt delete mode 100644 Documentation/nvme-lnvm-id-ns.1 delete mode 100644 Documentation/nvme-lnvm-id-ns.html delete mode 100644 Documentation/nvme-lnvm-id-ns.txt delete mode 100644 Documentation/nvme-lnvm-info.1 delete mode 100644 Documentation/nvme-lnvm-info.html delete mode 100644 Documentation/nvme-lnvm-info.txt delete mode 100644 Documentation/nvme-lnvm-init.1 delete mode 100644 Documentation/nvme-lnvm-init.html delete mode 100644 Documentation/nvme-lnvm-init.txt delete mode 100644 Documentation/nvme-lnvm-list.1 delete mode 100644 Documentation/nvme-lnvm-list.html delete mode 100644 Documentation/nvme-lnvm-list.txt delete mode 100644 Documentation/nvme-lnvm-remove.1 delete mode 100644 Documentation/nvme-lnvm-remove.html delete mode 100644 Documentation/nvme-lnvm-remove.txt diff --git a/Documentation/meson.build b/Documentation/meson.build index ab5577c5..fd10a7c3 100644 --- a/Documentation/meson.build +++ b/Documentation/meson.build @@ -58,15 +58,6 @@ adoc_sources = [ 'nvme-list-ns', 'nvme-list-subsys', 'nvme-list', - 'nvme-lnvm-create', - 'nvme-lnvm-diag-bbtbl', - 'nvme-lnvm-diag-set-bbtbl', - 'nvme-lnvm-factory', - 'nvme-lnvm-id-ns', - 'nvme-lnvm-info', - 'nvme-lnvm-init', - 'nvme-lnvm-list', - 'nvme-lnvm-remove', 'nvme-lockdown', 'nvme-micron-clear-pcie-errors', 'nvme-micron-internal-log', diff --git a/Documentation/nvme-lnvm-create.1 b/Documentation/nvme-lnvm-create.1 deleted file mode 100644 index 60802073..00000000 --- a/Documentation/nvme-lnvm-create.1 +++ /dev/null @@ -1,100 +0,0 @@ -'\" t -.\" Title: nvme-lnvm-create -.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] -.\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 10/20/2020 -.\" Manual: NVMe Manual -.\" Source: NVMe -.\" Language: English -.\" -.TH "NVME\-LNVM\-CREATE" "1" "10/20/2020" "NVMe" "NVMe Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -nvme-lnvm-create \- Instantiate a target on top of a LightNVM enabled device -.SH "SYNOPSIS" -.sp -.nf -\fInvme lnvm\-create\fR [\-\-device\-name= | \-d ] - [\-\-target\-name= | \-n ] - [\-\-target\-type= | \-t ] - [\-\-lun\-begin | \-b ] - [\-\-lun\-end | \-e ] -.fi -.SH "DESCRIPTION" -.sp -Instantiate a target on top of a LightNVM enabled device\&. This exposes the physical for the user to use\&. -.sp -The target name is the name of which the media is exposed as in /dev/ -.sp -The target type is the target to be instantiated\&. Typically pblk or rrpc\&. -.sp -LUN begin and end defines the range of LUNs to use for a target instantiation\&. -.SH "OPTIONS" -.PP -\-\-device\-name=, \-d -.RS 4 -Device name to initialize\&. -.RE -.PP -\-\-target\-name=, \-n -.RS 4 -Target name of the device to initialize\&. For example: target0\&. -.RE -.PP -\-\-target\-type=, \-t -.RS 4 -Target type of the device to use\&. For example: pblk -.RE -.PP -\-\-lun\-begin , \-b -.RS 4 -Begin LUN id offset to use for target -.RE -.PP -\-\-lun\-end , \-e -.RS 4 -End LUN id offset to use for target -.RE -.SH "EXAMPLES" -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Initialize nvme0n1 with pblk target with 64 LUNs\&. -.RE -.sp -.if n \{\ -.RS 4 -.\} -.nf -# nvme lnvm\-create \-d nvme0n1 \-t pblk \-n target0 \-b 0 \-e 63 -.fi -.if n \{\ -.RE -.\} -.SH "NVME" -.sp -Part of the nvme\-user suite diff --git a/Documentation/nvme-lnvm-create.html b/Documentation/nvme-lnvm-create.html deleted file mode 100644 index cde37613..00000000 --- a/Documentation/nvme-lnvm-create.html +++ /dev/null @@ -1,865 +0,0 @@ - - - - - - -nvme-lnvm-create(1) - - - - - -
-
-

SYNOPSIS

-
-
-
nvme lnvm-create [--device-name=<DEVICE> | -d <DEVICE>]
-                        [--target-name=<TARGET> | -n <TARGET>]
-                        [--target-type=<TARGETTYPE> | -t <TARGETTYPE>]
-                        [--lun-begin <NUM> | -b <NUM>]
-                        [--lun-end <NUM> | -e <NUM>]
-
-
-
-
-
-

DESCRIPTION

-
-

Instantiate a target on top of a LightNVM enabled device. This exposes the -physical for the user to use.

-

The target name is the name of which the media is exposed as in -/dev/<targetname>

-

The target type is the target to be instantiated. Typically pblk or rrpc.

-

LUN begin and end defines the range of LUNs to use for a target instantiation.

-
-
-
-

OPTIONS

-
-
-
---device-name=<DEVICE> -
-
--d <DEVICE> -
-
-

- Device name to initialize. -

-
-
---target-name=<TARGET> -
-
--n <TARGET> -
-
-

- Target name of the device to initialize. For example: target0. -

-
-
---target-type=<TARGETTYPE> -
-
--t <TARGETTYPE> -
-
-

- Target type of the device to use. For example: pblk -

-
-
---lun-begin <NUM> -
-
--b <NUM> -
-
-

- Begin LUN id offset to use for target -

-
-
---lun-end <NUM> -
-
--e <NUM> -
-
-

- End LUN id offset to use for target -

-
-
-
-
-
-

EXAMPLES

-
-
    -
  • -

    -Initialize nvme0n1 with pblk target with 64 LUNs. -

    -
  • -
-
-
-
# nvme lnvm-create -d nvme0n1 -t pblk -n target0 -b 0 -e 63
-
-
-
-
-

NVME

-
-

Part of the nvme-user suite

-
-
-
-

- - - diff --git a/Documentation/nvme-lnvm-create.txt b/Documentation/nvme-lnvm-create.txt deleted file mode 100644 index 3c9109dd..00000000 --- a/Documentation/nvme-lnvm-create.txt +++ /dev/null @@ -1,60 +0,0 @@ -nvme-lnvm-create(1) -=================== - -NAME ----- -nvme-lnvm-create - Instantiate a target on top of a LightNVM enabled device - -SYNOPSIS --------- -[verse] -'nvme lnvm-create' [--device-name= | -d ] - [--target-name= | -n ] - [--target-type= | -t ] - [--lun-begin | -b ] - [--lun-end | -e ] - -DESCRIPTION ------------ -Instantiate a target on top of a LightNVM enabled device. This exposes the -physical for the user to use. - -The target name is the name of which the media is exposed as in -/dev/ - -The target type is the target to be instantiated. Typically pblk or rrpc. - -LUN begin and end defines the range of LUNs to use for a target instantiation. - -OPTIONS -------- ---device-name=:: --d :: - Device name to initialize. - ---target-name=:: --n :: - Target name of the device to initialize. For example: target0. - ---target-type=:: --t :: - Target type of the device to use. For example: pblk - ---lun-begin :: --b :: - Begin LUN id offset to use for target - ---lun-end :: --e :: - End LUN id offset to use for target - -EXAMPLES --------- -* Initialize nvme0n1 with pblk target with 64 LUNs. ------------- -# nvme lnvm-create -d nvme0n1 -t pblk -n target0 -b 0 -e 63 ------------- - -NVME ----- -Part of the nvme-user suite diff --git a/Documentation/nvme-lnvm-diag-bbtbl.1 b/Documentation/nvme-lnvm-diag-bbtbl.1 deleted file mode 100644 index 398dc809..00000000 --- a/Documentation/nvme-lnvm-diag-bbtbl.1 +++ /dev/null @@ -1,117 +0,0 @@ -'\" t -.\" Title: nvme-lnvm-diag-bbtbl -.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] -.\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 10/20/2020 -.\" Manual: NVMe Manual -.\" Source: NVMe -.\" Language: English -.\" -.TH "NVME\-LNVM\-DIAG\-BB" "1" "10/20/2020" "NVMe" "NVMe Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -nvme-lnvm-diag-bbtbl \- Diagnose the bad block table -.SH "SYNOPSIS" -.sp -.nf -\fInvme lnvm\-diag\-bbtbl\fR [\-\-namespace\-id= | \-n ] - [\-\-channel\-id= | \-c ] - [\-\-lun\-id= | \-l ] - [\-\-raw\-binary | \-b] -.fi -.SH "DESCRIPTION" -.sp -Retrieve the bad block table for a given channel and lun\&. -.sp -The statistics will be shown in the default case, and the actual output bad block information can be retrieved when \-\-raw\-binary is passed\&. -.sp -The raw binary output follows this format: -.sp -Channel 0, LUN0 (Dual plane flash) -.sp -Byte 0 \(-> Plane 0, Block 0 Byte 1 \(-> Plane 1, Block 0 Byte 2 \(-> Plane 0, Block 1 \&... -.SH "OPTIONS" -.PP -\-\-namespace\-id=, \-n -.RS 4 -Namespace id to use -.RE -.PP -\-\-channel\-id=, \-c -.RS 4 -Channel id -.RE -.PP -\-\-lun\-id=, \-l -.RS 4 -LUN id -.RE -.PP -\-\-raw\-binary, \-b -.RS 4 -Returns the bad block table in binary form without statistics\&. -.RE -.SH "EXAMPLES" -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Retrieve bad block table statistics for physical device nvme0, channel 0, and lun 0: -.RE -.sp -.if n \{\ -.RS 4 -.\} -.nf -# nvme lnvm\-diag\-bbtbl /dev/nvme0 \-c 0 \-n 0 -.fi -.if n \{\ -.RE -.\} -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Display the bad block table in raw form without statistics for same query: -.RE -.sp -.if n \{\ -.RS 4 -.\} -.nf -# nvme lnvm\-diag\-bbtbl /dev/nvme0 \-c 0 \-n 0 \-b | hexdump -.fi -.if n \{\ -.RE -.\} -.SH "NVME" -.sp -Part of the nvme\-user suite diff --git a/Documentation/nvme-lnvm-diag-bbtbl.html b/Documentation/nvme-lnvm-diag-bbtbl.html deleted file mode 100644 index 4b177c7e..00000000 --- a/Documentation/nvme-lnvm-diag-bbtbl.html +++ /dev/null @@ -1,864 +0,0 @@ - - - - - -nvme-lnvm-diag-bbtbl(1) - - - - - -
-
-

SYNOPSIS

-
-
-
nvme lnvm-diag-bbtbl [--namespace-id=<NUM> | -n <NUM>]
-                        [--channel-id=<CHID> | -c <CHID>]
-                        [--lun-id=<LUNID> | -l <LUNID>]
-                        [--raw-binary | -b]
-
-
-
-
-
-

DESCRIPTION

-
-

Retrieve the bad block table for a given channel and lun.

-

The statistics will be shown in the default case, and the actual output bad -block information can be retrieved when --raw-binary is passed.

-

The raw binary output follows this format:

-

Channel 0, LUN0 (Dual plane flash)

-

Byte 0 → Plane 0, Block 0 -Byte 1 → Plane 1, Block 0 -Byte 2 → Plane 0, Block 1 -…

-
-
-
-

OPTIONS

-
-
-
---namespace-id=<NUM> -
-
--n <NUM> -
-
-

- Namespace id to use -

-
-
---channel-id=<NUM> -
-
--c -
-
-

- Channel id -

-
-
---lun-id=<NUM> -
-
--l -
-
-

- LUN id -

-
-
---raw-binary -
-
--b -
-
-

- Returns the bad block table in binary form without statistics. -

-
-
-
-
-
-

EXAMPLES

-
-
    -
  • -

    -Retrieve bad block table statistics for physical device nvme0, channel 0, and -lun 0: -

    -
  • -
-
-
-
# nvme lnvm-diag-bbtbl /dev/nvme0 -c 0 -n 0
-
-
    -
  • -

    -Display the bad block table in raw form without statistics for same query: -

    -
  • -
-
-
-
# nvme lnvm-diag-bbtbl /dev/nvme0 -c 0 -n 0 -b | hexdump
-
-
-
-
-

NVME

-
-

Part of the nvme-user suite

-
-
-
-

- - - diff --git a/Documentation/nvme-lnvm-diag-bbtbl.txt b/Documentation/nvme-lnvm-diag-bbtbl.txt deleted file mode 100644 index 7324807c..00000000 --- a/Documentation/nvme-lnvm-diag-bbtbl.txt +++ /dev/null @@ -1,65 +0,0 @@ -nvme-lnvm-diag-bbtbl(1) -======================= - -NAME ----- -nvme-lnvm-diag-bbtbl - Diagnose the bad block table - -SYNOPSIS --------- -[verse] -'nvme lnvm-diag-bbtbl' [--namespace-id= | -n ] - [--channel-id= | -c ] - [--lun-id= | -l ] - [--raw-binary | -b] - -DESCRIPTION ------------ -Retrieve the bad block table for a given channel and lun. - -The statistics will be shown in the default case, and the actual output bad -block information can be retrieved when --raw-binary is passed. - -The raw binary output follows this format: - -Channel 0, LUN0 (Dual plane flash) - -Byte 0 -> Plane 0, Block 0 -Byte 1 -> Plane 1, Block 0 -Byte 2 -> Plane 0, Block 1 -... - -OPTIONS -------- ---namespace-id=:: --n :: - Namespace id to use - ---channel-id=:: --c:: - Channel id - ---lun-id=:: --l:: - LUN id - ---raw-binary:: --b:: - Returns the bad block table in binary form without statistics. - -EXAMPLES --------- -* Retrieve bad block table statistics for physical device nvme0, channel 0, and -lun 0: ------------- -# nvme lnvm-diag-bbtbl /dev/nvme0 -c 0 -n 0 ------------- - -* Display the bad block table in raw form without statistics for same query: ------------- -# nvme lnvm-diag-bbtbl /dev/nvme0 -c 0 -n 0 -b | hexdump ------------- - -NVME ----- -Part of the nvme-user suite diff --git a/Documentation/nvme-lnvm-diag-set-bbtbl.1 b/Documentation/nvme-lnvm-diag-set-bbtbl.1 deleted file mode 100644 index 6d3b5a7c..00000000 --- a/Documentation/nvme-lnvm-diag-set-bbtbl.1 +++ /dev/null @@ -1,99 +0,0 @@ -'\" t -.\" Title: nvme-lnvm-diag-set-bbtbl -.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] -.\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 10/20/2020 -.\" Manual: NVMe Manual -.\" Source: NVMe -.\" Language: English -.\" -.TH "NVME\-LNVM\-DIAG\-SE" "1" "10/20/2020" "NVMe" "NVMe Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -nvme-lnvm-diag-set-bbtbl \- Set a block state in the bad block table -.SH "SYNOPSIS" -.sp -.nf -\fInvme lnvm\-diag\-set\-bbtbl\fR [\-\-namespace\-id= | \-n ] - [\-\-channel\-id= | \-c ] - [\-\-lun\-id= | \-l ] - [\-\-plane\-id= | \-p ] - [\-\-block\-id= | \-b ] - [\-\-value= | \-v ] -.fi -.SH "DESCRIPTION" -.sp -Set the bad block table for a given channel, lun, plane and block with value v\&. -.sp -For each block available, the status byte is read as follows: -.sp -0: Good block 1: Bad block 2: Grown bad block 4: Device reserved block 8: Host\-side reserved block 16: Media managed reserved block -.SH "OPTIONS" -.PP -\-\-namespace\-id=, \-n -.RS 4 -Namespace id to use -.RE -.PP -\-\-channel\-id, \-c -.RS 4 -Channel id -.RE -.PP -\-\-lun\-id, \-l -.RS 4 -LUN id -.RE -.PP -\-\-plane\-id, \-p -.RS 4 -Plane id -.RE -.PP -\-\-block\-id, \-b -.RS 4 -Block id -.RE -.SH "EXAMPLES" -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Set channel 0, lun 0, plane 0, block 10 to bad block value 2 (grown bad) on physical device /dev/nvme0 -.RE -.sp -.if n \{\ -.RS 4 -.\} -.nf -# nvme lnvm\-diag\-set\-bbtbl /dev/nvme0 \-c 0 \-l 0 \-p 0 \-b 10 \-v 2 -.fi -.if n \{\ -.RE -.\} -.SH "NVME" -.sp -Part of the nvme\-user suite diff --git a/Documentation/nvme-lnvm-diag-set-bbtbl.html b/Documentation/nvme-lnvm-diag-set-bbtbl.html deleted file mode 100644 index be9d1739..00000000 --- a/Documentation/nvme-lnvm-diag-set-bbtbl.html +++ /dev/null @@ -1,869 +0,0 @@ - - - - - - -nvme-lnvm-diag-set-bbtbl(1) - - - - - -
-
-

SYNOPSIS

-
-
-
nvme lnvm-diag-set-bbtbl [--namespace-id=<NUM> | -n <NUM>]
-                        [--channel-id=<CHID> | -c <CHID>]
-                        [--lun-id=<LUNID> | -l <LUNID>]
-                        [--plane-id=<PLANEID> | -p <PLANEID>]
-                        [--block-id=<BLKID> | -b <BLKID>]
-                        [--value=<NUM> | -v <NUM>]
-
-
-
-
-
-

DESCRIPTION

-
-

Set the bad block table for a given channel, lun, plane and block with value v.

-

For each block available, the status byte is read as follows:

-

0: Good block -1: Bad block -2: Grown bad block -4: Device reserved block -8: Host-side reserved block -16: Media managed reserved block

-
-
-
-

OPTIONS

-
-
-
---namespace-id=<NUM> -
-
--n <NUM> -
-
-

- Namespace id to use -

-
-
---channel-id -
-
--c -
-
-

- Channel id -

-
-
---lun-id -
-
--l -
-
-

- LUN id -

-
-
---plane-id -
-
--p -
-
-

- Plane id -

-
-
---block-id -
-
--b -
-
-

- Block id -

-
-
-
-
-
-

EXAMPLES

-
-
    -
  • -

    -Set channel 0, lun 0, plane 0, block 10 to bad block value 2 (grown bad) - on physical device /dev/nvme0 -

    -
  • -
-
-
-
# nvme lnvm-diag-set-bbtbl /dev/nvme0 -c 0 -l 0 -p 0 -b 10 -v 2
-
-
-
-
-

NVME

-
-

Part of the nvme-user suite

-
-
-
-

- - - diff --git a/Documentation/nvme-lnvm-diag-set-bbtbl.txt b/Documentation/nvme-lnvm-diag-set-bbtbl.txt deleted file mode 100644 index f5dd0040..00000000 --- a/Documentation/nvme-lnvm-diag-set-bbtbl.txt +++ /dev/null @@ -1,63 +0,0 @@ -nvme-lnvm-diag-set-bbtbl(1) -=========================== - -NAME ----- -nvme-lnvm-diag-set-bbtbl - Set a block state in the bad block table - -SYNOPSIS --------- -[verse] -'nvme lnvm-diag-set-bbtbl' [--namespace-id= | -n ] - [--channel-id= | -c ] - [--lun-id= | -l ] - [--plane-id= | -p ] - [--block-id= | -b ] - [--value= | -v ] - -DESCRIPTION ------------ -Set the bad block table for a given channel, lun, plane and block with value v. - -For each block available, the status byte is read as follows: - -0: Good block -1: Bad block -2: Grown bad block -4: Device reserved block -8: Host-side reserved block -16: Media managed reserved block - -OPTIONS -------- ---namespace-id=:: --n :: - Namespace id to use - ---channel-id:: --c:: - Channel id - ---lun-id:: --l:: - LUN id - ---plane-id:: --p:: - Plane id - ---block-id:: --b:: - Block id - -EXAMPLES --------- -* Set channel 0, lun 0, plane 0, block 10 to bad block value 2 (grown bad) - on physical device /dev/nvme0 ------------- -# nvme lnvm-diag-set-bbtbl /dev/nvme0 -c 0 -l 0 -p 0 -b 10 -v 2 ------------- - -NVME ----- -Part of the nvme-user suite diff --git a/Documentation/nvme-lnvm-factory.1 b/Documentation/nvme-lnvm-factory.1 deleted file mode 100644 index 0f713c2a..00000000 --- a/Documentation/nvme-lnvm-factory.1 +++ /dev/null @@ -1,109 +0,0 @@ -'\" t -.\" Title: nvme-lnvm-factory -.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] -.\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 10/20/2020 -.\" Manual: NVMe Manual -.\" Source: NVMe -.\" Language: English -.\" -.TH "NVME\-LNVM\-FACTORY" "1" "10/20/2020" "NVMe" "NVMe Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -nvme-lnvm-factory \- Factory reset a LightNVM device -.SH "SYNOPSIS" -.sp -.nf -\fInvme lnvm\-factory\fR [\-\-device\-name= | \-d ] - [\-\-erase\-only\-marked | \-e] - [\-\-clear\-host\-side\-blks | \-s] - [\-\-clear\-bb\-blks | \-b] -.fi -.SH "DESCRIPTION" -.sp -Instantiate a target on top of a LightNVM enabled device\&. This exposes the physical for the user to use\&. -.SH "OPTIONS" -.PP -\-\-device\-name=, \-d -.RS 4 -Device name to factory initialize -.RE -.PP -\-\-erase\-only\-marked, \-e -.RS 4 -Erases only blocks that are marked in the bad block list -.RE -.PP -\-\-clear\-host\-side\-blks, \-s -.RS 4 -Remove host\-side bad block marks\&. This clear the media manager registration -.RE -.PP -\-\-clear\-bb\-blks, \-b -.RS 4 -Removes the grown bad block marks\&. Allowing them to be rediscovered\&. -.RE -.SH "EXAMPLES" -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Factory reset of device nvme0n1 -.RE -.sp -.if n \{\ -.RS 4 -.\} -.nf -# nvme lnvm\-factory \-d nvme0n1 -.fi -.if n \{\ -.RE -.\} -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Complete factory reset of device nvme0n1 -.RE -.sp -.if n \{\ -.RS 4 -.\} -.nf -# nvme lnvm\-factory \-d nvme0n1 \-s \-b -.fi -.if n \{\ -.RE -.\} -.SH "NVME" -.sp -Part of the nvme\-user suite diff --git a/Documentation/nvme-lnvm-factory.html b/Documentation/nvme-lnvm-factory.html deleted file mode 100644 index a93e3982..00000000 --- a/Documentation/nvme-lnvm-factory.html +++ /dev/null @@ -1,857 +0,0 @@ - - - - - -nvme-lnvm-factory(1) - - - - - -
-
-

SYNOPSIS

-
-
-
nvme lnvm-factory [--device-name=<DEVICE> | -d <DEVICE>]
-                        [--erase-only-marked | -e]
-                        [--clear-host-side-blks | -s]
-                        [--clear-bb-blks | -b]
-
-
-
-
-
-

DESCRIPTION

-
-

Instantiate a target on top of a LightNVM enabled device. This exposes the -physical for the user to use.

-
-
-
-

OPTIONS

-
-
-
---device-name=<DEVICE> -
-
--d <DEVICE> -
-
-

- Device name to factory initialize -

-
-
---erase-only-marked -
-
--e -
-
-

- Erases only blocks that are marked in the bad block list -

-
-
---clear-host-side-blks -
-
--s -
-
-

- Remove host-side bad block marks. This clear the media manager - registration -

-
-
---clear-bb-blks -
-
--b -
-
-

- Removes the grown bad block marks. Allowing them to be rediscovered. -

-
-
-
-
-
-

EXAMPLES

-
-
    -
  • -

    -Factory reset of device nvme0n1 -

    -
  • -
-
-
-
# nvme lnvm-factory -d nvme0n1
-
-
    -
  • -

    -Complete factory reset of device nvme0n1 -

    -
  • -
-
-
-
# nvme lnvm-factory -d nvme0n1 -s -b
-
-
-
-
-

NVME

-
-

Part of the nvme-user suite

-
-
-
-

- - - diff --git a/Documentation/nvme-lnvm-factory.txt b/Documentation/nvme-lnvm-factory.txt deleted file mode 100644 index baa7a691..00000000 --- a/Documentation/nvme-lnvm-factory.txt +++ /dev/null @@ -1,54 +0,0 @@ -nvme-lnvm-factory(1) -==================== - -NAME ----- -nvme-lnvm-factory - Factory reset a LightNVM device - -SYNOPSIS --------- -[verse] -'nvme lnvm-factory' [--device-name= | -d ] - [--erase-only-marked | -e] - [--clear-host-side-blks | -s] - [--clear-bb-blks | -b] - -DESCRIPTION ------------ -Instantiate a target on top of a LightNVM enabled device. This exposes the -physical for the user to use. - -OPTIONS -------- ---device-name=:: --d :: - Device name to factory initialize - ---erase-only-marked:: --e:: - Erases only blocks that are marked in the bad block list - ---clear-host-side-blks:: --s:: - Remove host-side bad block marks. This clear the media manager - registration - ---clear-bb-blks:: --b:: - Removes the grown bad block marks. Allowing them to be rediscovered. - -EXAMPLES --------- -* Factory reset of device nvme0n1 ------------- -# nvme lnvm-factory -d nvme0n1 ------------- - -* Complete factory reset of device nvme0n1 ------------- -# nvme lnvm-factory -d nvme0n1 -s -b ------------- - -NVME ----- -Part of the nvme-user suite diff --git a/Documentation/nvme-lnvm-id-ns.1 b/Documentation/nvme-lnvm-id-ns.1 deleted file mode 100644 index 8ceb34e6..00000000 --- a/Documentation/nvme-lnvm-id-ns.1 +++ /dev/null @@ -1,88 +0,0 @@ -'\" t -.\" Title: nvme-lnvm-id-ns -.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] -.\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 12/15/2021 -.\" Manual: NVMe Manual -.\" Source: NVMe -.\" Language: English -.\" -.TH "NVME\-LNVM\-ID\-NS" "1" "12/15/2021" "NVMe" "NVMe Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -nvme-lnvm-id-ns \- Identify Geometry for LightNVM NVMe device -.SH "SYNOPSIS" -.sp -.nf -\fInvme lnvm\-id\-ns\fR [\-\-namespace\-id= | \-n ] - [\-\-force ] - [\-\-raw\-binary | \-b] - [\-\-human\-readable | \-H] -.fi -.SH "DESCRIPTION" -.sp -Send an Identify Geometry command to the given LightNVM device, returns properties of the specified namespace in either human\-readable or binary format\&. -.SH "OPTIONS" -.PP -\-\-namespace\-id=, \-n -.RS 4 -Retrieve the geometry from the selected namespace\&. -.RE -.PP -\-\-force -.RS 4 -Try to read the data and assume it is a LightNVM device -.RE -.PP -\-\-raw\-binary, \-b -.RS 4 -Output the raw output -.RE -.PP -\-\-human\-readable, \-H -.RS 4 -Output the status in human readable format -.RE -.SH "EXAMPLES" -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Retrieve the geometry from nvme0 -.RE -.sp -.if n \{\ -.RS 4 -.\} -.nf -# nvme lnvm\-id\-ns /dev/nvme0 \-n 1 -.fi -.if n \{\ -.RE -.\} -.SH "NVME" -.sp -Part of the nvme\-user suite diff --git a/Documentation/nvme-lnvm-id-ns.html b/Documentation/nvme-lnvm-id-ns.html deleted file mode 100644 index 2f353290..00000000 --- a/Documentation/nvme-lnvm-id-ns.html +++ /dev/null @@ -1,847 +0,0 @@ - - - - - - -nvme-lnvm-id-ns(1) - - - - - -
-
-

SYNOPSIS

-
-
-
nvme lnvm-id-ns <device> [--namespace-id=<nsid> | -n <nsid>]
-                        [--force ]
-                        [--raw-binary | -b]
-                        [--human-readable | -H]
-
-
-
-
-
-

DESCRIPTION

-
-

Send an Identify Geometry command to the given LightNVM device, returns -properties of the specified namespace in either human-readable or binary -format.

-
-
-
-

OPTIONS

-
-
-
---namespace-id=<nsid> -
-
--n <nsid> -
-
-

- Retrieve the geometry from the selected namespace. -

-
-
---force -
-
-

- Try to read the data and assume it is a LightNVM device -

-
-
---raw-binary -
-
--b -
-
-

- Output the raw output -

-
-
---human-readable -
-
--H -
-
-

- Output the status in human readable format -

-
-
-
-
-
-

EXAMPLES

-
-
    -
  • -

    -Retrieve the geometry from nvme0 -

    -
  • -
-
-
-
# nvme lnvm-id-ns /dev/nvme0 -n 1
-
-
-
-
-

NVME

-
-

Part of the nvme-user suite

-
-
-
-

- - - diff --git a/Documentation/nvme-lnvm-id-ns.txt b/Documentation/nvme-lnvm-id-ns.txt deleted file mode 100644 index 7b58f29e..00000000 --- a/Documentation/nvme-lnvm-id-ns.txt +++ /dev/null @@ -1,48 +0,0 @@ -nvme-lnvm-id-ns(1) -================== - -NAME ----- -nvme-lnvm-id-ns - Identify Geometry for LightNVM NVMe device - -SYNOPSIS --------- -[verse] -'nvme lnvm-id-ns' [--namespace-id= | -n ] - [--force ] - [--raw-binary | -b] - [--human-readable | -H] - -DESCRIPTION ------------ -Send an Identify Geometry command to the given LightNVM device, returns -properties of the specified namespace in either human-readable or binary -format. - -OPTIONS -------- ---namespace-id=:: --n :: - Retrieve the geometry from the selected namespace. - ---force:: - Try to read the data and assume it is a LightNVM device - ---raw-binary:: --b:: - Output the raw output - ---human-readable:: --H:: - Output the status in human readable format - -EXAMPLES --------- -* Retrieve the geometry from nvme0 ------------- -# nvme lnvm-id-ns /dev/nvme0 -n 1 ------------- - -NVME ----- -Part of the nvme-user suite diff --git a/Documentation/nvme-lnvm-info.1 b/Documentation/nvme-lnvm-info.1 deleted file mode 100644 index eff7406b..00000000 --- a/Documentation/nvme-lnvm-info.1 +++ /dev/null @@ -1,48 +0,0 @@ -'\" t -.\" Title: nvme-lnvm-info -.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] -.\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 10/20/2020 -.\" Manual: NVMe Manual -.\" Source: NVMe -.\" Language: English -.\" -.TH "NVME\-LNVM\-INFO" "1" "10/20/2020" "NVMe" "NVMe Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -nvme-lnvm-info \- Show general information and registered target types with LightNVM -.SH "SYNOPSIS" -.sp -.nf -\fInvme lnvm\-info\fR -.fi -.SH "DESCRIPTION" -.sp -Show general information and registered target types with LightNVM\&. -.SH "OPTIONS" -.sp -No options yet\&. -.SH "EXAMPLES" -.sp -No examples yet\&. -.SH "NVME" -.sp -Part of the nvme\-user suite diff --git a/Documentation/nvme-lnvm-info.html b/Documentation/nvme-lnvm-info.html deleted file mode 100644 index 13b714f9..00000000 --- a/Documentation/nvme-lnvm-info.html +++ /dev/null @@ -1,786 +0,0 @@ - - - - - -nvme-lnvm-info(1) - - - - - -
-
-

SYNOPSIS

-
-
-
nvme lnvm-info
-
-
-
-
-
-

DESCRIPTION

-
-

Show general information and registered target types with LightNVM.

-
-
-
-

OPTIONS

-
-

No options yet.

-
-
-
-

EXAMPLES

-
-

No examples yet.

-
-
-
-

NVME

-
-

Part of the nvme-user suite

-
-
-
-

- - - diff --git a/Documentation/nvme-lnvm-info.txt b/Documentation/nvme-lnvm-info.txt deleted file mode 100644 index e755c9c4..00000000 --- a/Documentation/nvme-lnvm-info.txt +++ /dev/null @@ -1,27 +0,0 @@ -nvme-lnvm-info(1) -================= - -NAME ----- -nvme-lnvm-info - Show general information and registered target types with LightNVM - -SYNOPSIS --------- -[verse] -'nvme lnvm-info' - -DESCRIPTION ------------ -Show general information and registered target types with LightNVM. - -OPTIONS -------- -No options yet. - -EXAMPLES --------- -No examples yet. - -NVME ----- -Part of the nvme-user suite diff --git a/Documentation/nvme-lnvm-init.1 b/Documentation/nvme-lnvm-init.1 deleted file mode 100644 index 369b1af4..00000000 --- a/Documentation/nvme-lnvm-init.1 +++ /dev/null @@ -1,97 +0,0 @@ -'\" t -.\" Title: nvme-lnvm-init -.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] -.\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 10/20/2020 -.\" Manual: NVMe Manual -.\" Source: NVMe -.\" Language: English -.\" -.TH "NVME\-LNVM\-INIT" "1" "10/20/2020" "NVMe" "NVMe Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -nvme-lnvm-init \- Initialize LightNVM device with media manager -.SH "SYNOPSIS" -.sp -.nf -\fInvme lnvm\-init\fR [\-\-device\-name= | \-d ] - [\-\-mediamgr\-name | \-m] -.fi -.SH "DESCRIPTION" -.sp -Initialize LightNVM device\&. A LightNVM/Open\-Channel SSD must have a media manager associated before it can be exposed to the user\&. The default is to initialize the general media manager on top of the device\&. -.SH "OPTIONS" -.PP -\-\-device\-name=, \-d -.RS 4 -Device name to initialize\&. -.RE -.PP -\-\-mediamgr\-name=, \-m -.RS 4 -Media Manager name to use for initialization\&. -.RE -.SH "EXAMPLES" -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Initialize nvme0n1 -.RE -.sp -.if n \{\ -.RS 4 -.\} -.nf -# nvme lnvm\-init \-d nvme0n1 -.fi -.if n \{\ -.RE -.\} -.sp -.RS 4 -.ie n \{\ -\h'-04'\(bu\h'+03'\c -.\} -.el \{\ -.sp -1 -.IP \(bu 2.3 -.\} -Initialize nvme0n1 with gennvm media manager (default media manager) -.RE -.sp -.if n \{\ -.RS 4 -.\} -.nf -# nvme lnvm\-init \-d nvme0n1 \-m gennvm -.fi -.if n \{\ -.RE -.\} -.SH "NVME" -.sp -Part of the nvme\-user suite diff --git a/Documentation/nvme-lnvm-init.html b/Documentation/nvme-lnvm-init.html deleted file mode 100644 index d1fc894e..00000000 --- a/Documentation/nvme-lnvm-init.html +++ /dev/null @@ -1,833 +0,0 @@ - - - - - -nvme-lnvm-init(1) - - - - - -
-
-

SYNOPSIS

-
-
-
nvme lnvm-init [--device-name=<DEVICE> | -d <DEVICE>]
-                        [--mediamgr-name | -m]
-
-
-
-
-
-

DESCRIPTION

-
-

Initialize LightNVM device. A LightNVM/Open-Channel SSD must have a media -manager associated before it can be exposed to the user. The default is to -initialize the general media manager on top of the device.

-
-
-
-

OPTIONS

-
-
-
---device-name=<DEVICE> -
-
--d <DEVICE> -
-
-

- Device name to initialize. -

-
-
---mediamgr-name=<MediaMgr> -
-
--m <MediaMgr> -
-
-

- Media Manager name to use for initialization. -

-
-
-
-
-
-

EXAMPLES

-
-
    -
  • -

    -Initialize nvme0n1 -

    -
  • -
-
-
-
# nvme lnvm-init -d nvme0n1
-
-
    -
  • -

    -Initialize nvme0n1 with gennvm media manager (default media manager) -

    -
  • -
-
-
-
# nvme lnvm-init -d nvme0n1 -m gennvm
-
-
-
-
-

NVME

-
-

Part of the nvme-user suite

-
-
-
-

- - - diff --git a/Documentation/nvme-lnvm-init.txt b/Documentation/nvme-lnvm-init.txt deleted file mode 100644 index 0d922a98..00000000 --- a/Documentation/nvme-lnvm-init.txt +++ /dev/null @@ -1,44 +0,0 @@ -nvme-lnvm-init(1) -================= - -NAME ----- -nvme-lnvm-init - Initialize LightNVM device with media manager - -SYNOPSIS --------- -[verse] -'nvme lnvm-init' [--device-name= | -d ] - [--mediamgr-name | -m] - -DESCRIPTION ------------ -Initialize LightNVM device. A LightNVM/Open-Channel SSD must have a media -manager associated before it can be exposed to the user. The default is to -initialize the general media manager on top of the device. - -OPTIONS -------- ---device-name=:: --d :: - Device name to initialize. - ---mediamgr-name=:: --m :: - Media Manager name to use for initialization. - -EXAMPLES --------- -* Initialize nvme0n1 ------------- -# nvme lnvm-init -d nvme0n1 ------------- - -* Initialize nvme0n1 with gennvm media manager (default media manager) ------------- -# nvme lnvm-init -d nvme0n1 -m gennvm ------------- - -NVME ----- -Part of the nvme-user suite diff --git a/Documentation/nvme-lnvm-list.1 b/Documentation/nvme-lnvm-list.1 deleted file mode 100644 index 08ecc6d1..00000000 --- a/Documentation/nvme-lnvm-list.1 +++ /dev/null @@ -1,48 +0,0 @@ -'\" t -.\" Title: nvme-lnvm-list -.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] -.\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 10/20/2020 -.\" Manual: NVMe Manual -.\" Source: NVMe -.\" Language: English -.\" -.TH "NVME\-LNVM\-LIST" "1" "10/20/2020" "NVMe" "NVMe Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -nvme-lnvm-list \- List all recognized LightNVM NVMe devices -.SH "SYNOPSIS" -.sp -.nf -\fInvme lnvm\-list\fR -.fi -.SH "DESCRIPTION" -.sp -List all registered LightNVM devices\&. -.SH "OPTIONS" -.sp -No options yet\&. -.SH "EXAMPLES" -.sp -No examples yet\&. -.SH "NVME" -.sp -Part of the nvme\-user suite diff --git a/Documentation/nvme-lnvm-list.html b/Documentation/nvme-lnvm-list.html deleted file mode 100644 index 0f42d8fa..00000000 --- a/Documentation/nvme-lnvm-list.html +++ /dev/null @@ -1,786 +0,0 @@ - - - - - -nvme-lnvm-list(1) - - - - - -
-
-

SYNOPSIS

-
-
-
nvme lnvm-list
-
-
-
-
-
-

DESCRIPTION

-
-

List all registered LightNVM devices.

-
-
-
-

OPTIONS

-
-

No options yet.

-
-
-
-

EXAMPLES

-
-

No examples yet.

-
-
-
-

NVME

-
-

Part of the nvme-user suite

-
-
-
-

- - - diff --git a/Documentation/nvme-lnvm-list.txt b/Documentation/nvme-lnvm-list.txt deleted file mode 100644 index 959f6b97..00000000 --- a/Documentation/nvme-lnvm-list.txt +++ /dev/null @@ -1,27 +0,0 @@ -nvme-lnvm-list(1) -================= - -NAME ----- -nvme-lnvm-list - List all recognized LightNVM NVMe devices - -SYNOPSIS --------- -[verse] -'nvme lnvm-list' - -DESCRIPTION ------------ -List all registered LightNVM devices. - -OPTIONS -------- -No options yet. - -EXAMPLES --------- -No examples yet. - -NVME ----- -Part of the nvme-user suite diff --git a/Documentation/nvme-lnvm-remove.1 b/Documentation/nvme-lnvm-remove.1 deleted file mode 100644 index d6a8aa29..00000000 --- a/Documentation/nvme-lnvm-remove.1 +++ /dev/null @@ -1,53 +0,0 @@ -'\" t -.\" Title: nvme-lnvm-remove -.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] -.\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 10/20/2020 -.\" Manual: NVMe Manual -.\" Source: NVMe -.\" Language: English -.\" -.TH "NVME\-LNVM\-REMOVE" "1" "10/20/2020" "NVMe" "NVMe Manual" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "NAME" -nvme-lnvm-remove \- Remove an initialized LightNVM target\&. -.SH "SYNOPSIS" -.sp -.nf -\fInvme lnvm\-remove\fR [\-\-target\-name= | \-n ] -.fi -.SH "DESCRIPTION" -.sp -Remove an initialized target\&. -.sp -The target name is the name of which the media is exposed as in /dev/ -.SH "OPTIONS" -.PP -\-\-target\-name=, \-n -.RS 4 -Target name of the device to initialize\&. For example: target0\&. -.RE -.SH "EXAMPLES" -.sp -None yet -.SH "NVME" -.sp -Part of the nvme\-user suite diff --git a/Documentation/nvme-lnvm-remove.html b/Documentation/nvme-lnvm-remove.html deleted file mode 100644 index ac2e69a9..00000000 --- a/Documentation/nvme-lnvm-remove.html +++ /dev/null @@ -1,800 +0,0 @@ - - - - - -nvme-lnvm-remove(1) - - - - - -
-
-

SYNOPSIS

-
-
-
nvme lnvm-remove [--target-name=<TARGET> | -n <TARGET>]
-
-
-
-
-
-

DESCRIPTION

-
-

Remove an initialized target.

-

The target name is the name of which the media is exposed as in -/dev/<TARGET>

-
-
-
-

OPTIONS

-
-
-
---target-name=<TARGET> -
-
--n <TARGET> -
-
-

- Target name of the device to initialize. For example: target0. -

-
-
-
-
-
-

EXAMPLES

-
-

None yet

-
-
-
-

NVME

-
-

Part of the nvme-user suite

-
-
-
-

- - - diff --git a/Documentation/nvme-lnvm-remove.txt b/Documentation/nvme-lnvm-remove.txt deleted file mode 100644 index f5cdd6e1..00000000 --- a/Documentation/nvme-lnvm-remove.txt +++ /dev/null @@ -1,32 +0,0 @@ -nvme-lnvm-remove(1) -=================== - -NAME ----- -nvme-lnvm-remove - Remove an initialized LightNVM target. - -SYNOPSIS --------- -[verse] -'nvme lnvm-remove' [--target-name= | -n ] - -DESCRIPTION ------------ -Remove an initialized target. - -The target name is the name of which the media is exposed as in -/dev/ - -OPTIONS -------- ---target-name=:: --n :: - Target name of the device to initialize. For example: target0. - -EXAMPLES --------- -None yet - -NVME ----- -Part of the nvme-user suite diff --git a/completions/bash-nvme-completion.sh b/completions/bash-nvme-completion.sh index f3812738..7c849326 100644 --- a/completions/bash-nvme-completion.sh +++ b/completions/bash-nvme-completion.sh @@ -13,8 +13,6 @@ readonly _plugin_subcmds=( set-bucket-thresholds lat-stats-tracking \ market-name smart-log-add temp-stats" [amzn]="id-ctrl" - [lnvm]="list info id-ns chunk-log init create \ - remove factory diag-bbtbl diag-set-bbtbl" [memblaze]="smart-log-add get-pm-status set-pm-status \ select-download lat-stats lat-stats-print lat-log \ lat-log-print clear-error-log" @@ -61,7 +59,6 @@ typeset -A _plugin_funcs readonly _plugin_funcs=( [intel]="plugin_intel_opts" [amzn]="plugin_amzn_opts" - [lnvm]="plugin_lnvm_opts" [memblaze]="plugin_memblaze_opts" [wdc]="plugin_wdc_opts" [huawei]="plugin_huawei_opts" @@ -602,68 +599,6 @@ plugin_amzn_opts () { return 0 } -plugin_lnvm_opts () { - local opts="" - local compargs="" - - local nonopt_args=0 - for (( i=0; i < ${#words[@]}-1; i++ )); do - if [[ ${words[i]} != -* ]]; then - let nonopt_args+=1 - fi - done - - if [ $nonopt_args -eq 3 ]; then - opts="/dev/nvme* " - fi - - opts+=" " - - case "$1" in - "list") - opts+=$NO_OPTS - ;; - "info") - opts+=$NO_OPTS - ;; - "id-ns") - opts+=" --namespace-id= -n --raw-binary -b --human-readable -H" - ;; - "chunk-log") - opts+=" --output-format= -o --human-readable -H" - ;; - "init") - opts+=" --device-name= -d --mediamgr-name -m" - ;; - "create") - opts+=" --device-name= -d --target-name= -n --target-type= -t \ - --lun-begin= -b --lun-end= -e --over-prov= -o --factory -f" - ;; - "remove") - opts+=" --target-name= -n" - ;; - "factory") - opts+=" --device-name= -d --erase-only-marked -e - --clear-host-side-blks -s --clear-bb-blks -b" - ;; - "diag-bbtbl") - opts+=" --namespace-id= -n --channel-id= -c --lun-id= -l \ - --raw-binary -b" - ;; - "diag-set-bbtbl") - opts+=" --namespace-id= -n --channel-id= -c --lun-id= -l \ - --plane-id= -p --block-id= -b --value= -v" - ;; - "help") - opts+=$NO_OPTS - ;; - esac - - COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) - - return 0 -} - plugin_memblaze_opts () { local opts="" local compargs="" -- 2.50.1