dm vdo: add dmsetup message for returning configuration info
authorBruce Johnston <bjohnsto@redhat.com>
Thu, 18 Jul 2024 18:02:38 +0000 (14:02 -0400)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 21 Aug 2024 11:05:56 +0000 (13:05 +0200)
commit47874c98dc0873aad65259d09f9b9029e97429e3
treeab7de6c90942dfe7187f28b17cd276923f488b0c
parent3a59b2ec2400017f7fcc5d794802ebc7f4187d22
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>
Documentation/admin-guide/device-mapper/vdo.rst
drivers/md/dm-vdo/dm-vdo-target.c
drivers/md/dm-vdo/message-stats.c
drivers/md/dm-vdo/message-stats.h