summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorBruce Johnston <bjohnsto@redhat.com>2024-07-18 20:02:38 +0200
committerMikulas Patocka <mpatocka@redhat.com>2024-08-21 13:05:56 +0200
commit47874c98dc0873aad65259d09f9b9029e97429e3 (patch)
treeab7de6c90942dfe7187f28b17cd276923f488b0c /Documentation
parentdm vdo: remove bad check of bi_next field (diff)
downloadlinux-47874c98dc0873aad65259d09f9b9029e97429e3.tar.xz
linux-47874c98dc0873aad65259d09f9b9029e97429e3.zip
dm vdo: add dmsetup message for returning configuration info
Add a new dmsetup message called config, which will return useful configuration information for the vdo volume and the uds index associated with it. The output is a YAML string, and contains a version number to allow future additions to the content. Signed-off-by: Bruce Johnston <bjohnsto@redhat.com> Signed-off-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/admin-guide/device-mapper/vdo.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/admin-guide/device-mapper/vdo.rst b/Documentation/admin-guide/device-mapper/vdo.rst
index c69ac186863a..a14e6d3e787c 100644
--- a/Documentation/admin-guide/device-mapper/vdo.rst
+++ b/Documentation/admin-guide/device-mapper/vdo.rst
@@ -251,7 +251,12 @@ The messages are:
by the vdostats userspace program to interpret the output
buffer.
- dump:
+ config:
+ Outputs useful vdo configuration information. Mostly used
+ by users who want to recreate a similar VDO volume and
+ want to know the creation configuration used.
+
+ dump:
Dumps many internal structures to the system log. This is
not always safe to run, so it should only be used to debug
a hung vdo. Optional parameters to specify structures to