[PATCH 14/39] docs: device-mapper: move it to the admin-guide

From: Mauro Carvalho Chehab
Date: Fri Jun 28 2019 - 08:32:16 EST


The DM support describes lots of aspects related to mapped
disk partitions from the userspace PoV.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>
---
.../{ => admin-guide}/device-mapper/cache-policies.rst | 0
Documentation/{ => admin-guide}/device-mapper/cache.rst | 0
Documentation/{ => admin-guide}/device-mapper/delay.rst | 0
Documentation/{ => admin-guide}/device-mapper/dm-crypt.rst | 0
Documentation/{ => admin-guide}/device-mapper/dm-dust.txt | 0
Documentation/{ => admin-guide}/device-mapper/dm-flakey.rst | 0
Documentation/{ => admin-guide}/device-mapper/dm-init.rst | 0
Documentation/{ => admin-guide}/device-mapper/dm-integrity.rst | 0
Documentation/{ => admin-guide}/device-mapper/dm-io.rst | 0
Documentation/{ => admin-guide}/device-mapper/dm-log.rst | 0
.../{ => admin-guide}/device-mapper/dm-queue-length.rst | 0
Documentation/{ => admin-guide}/device-mapper/dm-raid.rst | 0
.../{ => admin-guide}/device-mapper/dm-service-time.rst | 0
Documentation/{ => admin-guide}/device-mapper/dm-uevent.rst | 0
Documentation/{ => admin-guide}/device-mapper/dm-zoned.rst | 0
Documentation/{ => admin-guide}/device-mapper/era.rst | 0
Documentation/{ => admin-guide}/device-mapper/index.rst | 2 --
Documentation/{ => admin-guide}/device-mapper/kcopyd.rst | 0
Documentation/{ => admin-guide}/device-mapper/linear.rst | 0
Documentation/{ => admin-guide}/device-mapper/log-writes.rst | 0
.../{ => admin-guide}/device-mapper/persistent-data.rst | 0
Documentation/{ => admin-guide}/device-mapper/snapshot.rst | 0
Documentation/{ => admin-guide}/device-mapper/statistics.rst | 0
Documentation/{ => admin-guide}/device-mapper/striped.rst | 0
Documentation/{ => admin-guide}/device-mapper/switch.rst | 0
.../{ => admin-guide}/device-mapper/thin-provisioning.rst | 0
Documentation/{ => admin-guide}/device-mapper/unstriped.rst | 0
Documentation/{ => admin-guide}/device-mapper/verity.rst | 0
Documentation/{ => admin-guide}/device-mapper/writecache.rst | 0
Documentation/{ => admin-guide}/device-mapper/zero.rst | 0
Documentation/admin-guide/index.rst | 1 +
MAINTAINERS | 2 +-
drivers/md/Kconfig | 2 +-
drivers/md/dm-init.c | 2 +-
drivers/md/dm-raid.c | 2 +-
35 files changed, 5 insertions(+), 6 deletions(-)
rename Documentation/{ => admin-guide}/device-mapper/cache-policies.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/cache.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/delay.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/dm-crypt.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/dm-dust.txt (100%)
rename Documentation/{ => admin-guide}/device-mapper/dm-flakey.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/dm-init.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/dm-integrity.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/dm-io.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/dm-log.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/dm-queue-length.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/dm-raid.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/dm-service-time.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/dm-uevent.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/dm-zoned.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/era.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/index.rst (98%)
rename Documentation/{ => admin-guide}/device-mapper/kcopyd.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/linear.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/log-writes.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/persistent-data.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/snapshot.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/statistics.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/striped.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/switch.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/thin-provisioning.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/unstriped.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/verity.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/writecache.rst (100%)
rename Documentation/{ => admin-guide}/device-mapper/zero.rst (100%)

diff --git a/Documentation/device-mapper/cache-policies.rst b/Documentation/admin-guide/device-mapper/cache-policies.rst
similarity index 100%
rename from Documentation/device-mapper/cache-policies.rst
rename to Documentation/admin-guide/device-mapper/cache-policies.rst
diff --git a/Documentation/device-mapper/cache.rst b/Documentation/admin-guide/device-mapper/cache.rst
similarity index 100%
rename from Documentation/device-mapper/cache.rst
rename to Documentation/admin-guide/device-mapper/cache.rst
diff --git a/Documentation/device-mapper/delay.rst b/Documentation/admin-guide/device-mapper/delay.rst
similarity index 100%
rename from Documentation/device-mapper/delay.rst
rename to Documentation/admin-guide/device-mapper/delay.rst
diff --git a/Documentation/device-mapper/dm-crypt.rst b/Documentation/admin-guide/device-mapper/dm-crypt.rst
similarity index 100%
rename from Documentation/device-mapper/dm-crypt.rst
rename to Documentation/admin-guide/device-mapper/dm-crypt.rst
diff --git a/Documentation/device-mapper/dm-dust.txt b/Documentation/admin-guide/device-mapper/dm-dust.txt
similarity index 100%
rename from Documentation/device-mapper/dm-dust.txt
rename to Documentation/admin-guide/device-mapper/dm-dust.txt
diff --git a/Documentation/device-mapper/dm-flakey.rst b/Documentation/admin-guide/device-mapper/dm-flakey.rst
similarity index 100%
rename from Documentation/device-mapper/dm-flakey.rst
rename to Documentation/admin-guide/device-mapper/dm-flakey.rst
diff --git a/Documentation/device-mapper/dm-init.rst b/Documentation/admin-guide/device-mapper/dm-init.rst
similarity index 100%
rename from Documentation/device-mapper/dm-init.rst
rename to Documentation/admin-guide/device-mapper/dm-init.rst
diff --git a/Documentation/device-mapper/dm-integrity.rst b/Documentation/admin-guide/device-mapper/dm-integrity.rst
similarity index 100%
rename from Documentation/device-mapper/dm-integrity.rst
rename to Documentation/admin-guide/device-mapper/dm-integrity.rst
diff --git a/Documentation/device-mapper/dm-io.rst b/Documentation/admin-guide/device-mapper/dm-io.rst
similarity index 100%
rename from Documentation/device-mapper/dm-io.rst
rename to Documentation/admin-guide/device-mapper/dm-io.rst
diff --git a/Documentation/device-mapper/dm-log.rst b/Documentation/admin-guide/device-mapper/dm-log.rst
similarity index 100%
rename from Documentation/device-mapper/dm-log.rst
rename to Documentation/admin-guide/device-mapper/dm-log.rst
diff --git a/Documentation/device-mapper/dm-queue-length.rst b/Documentation/admin-guide/device-mapper/dm-queue-length.rst
similarity index 100%
rename from Documentation/device-mapper/dm-queue-length.rst
rename to Documentation/admin-guide/device-mapper/dm-queue-length.rst
diff --git a/Documentation/device-mapper/dm-raid.rst b/Documentation/admin-guide/device-mapper/dm-raid.rst
similarity index 100%
rename from Documentation/device-mapper/dm-raid.rst
rename to Documentation/admin-guide/device-mapper/dm-raid.rst
diff --git a/Documentation/device-mapper/dm-service-time.rst b/Documentation/admin-guide/device-mapper/dm-service-time.rst
similarity index 100%
rename from Documentation/device-mapper/dm-service-time.rst
rename to Documentation/admin-guide/device-mapper/dm-service-time.rst
diff --git a/Documentation/device-mapper/dm-uevent.rst b/Documentation/admin-guide/device-mapper/dm-uevent.rst
similarity index 100%
rename from Documentation/device-mapper/dm-uevent.rst
rename to Documentation/admin-guide/device-mapper/dm-uevent.rst
diff --git a/Documentation/device-mapper/dm-zoned.rst b/Documentation/admin-guide/device-mapper/dm-zoned.rst
similarity index 100%
rename from Documentation/device-mapper/dm-zoned.rst
rename to Documentation/admin-guide/device-mapper/dm-zoned.rst
diff --git a/Documentation/device-mapper/era.rst b/Documentation/admin-guide/device-mapper/era.rst
similarity index 100%
rename from Documentation/device-mapper/era.rst
rename to Documentation/admin-guide/device-mapper/era.rst
diff --git a/Documentation/device-mapper/index.rst b/Documentation/admin-guide/device-mapper/index.rst
similarity index 98%
rename from Documentation/device-mapper/index.rst
rename to Documentation/admin-guide/device-mapper/index.rst
index 105e253bc231..c77c58b8f67b 100644
--- a/Documentation/device-mapper/index.rst
+++ b/Documentation/admin-guide/device-mapper/index.rst
@@ -1,5 +1,3 @@
-:orphan:
-
=============
Device Mapper
=============
diff --git a/Documentation/device-mapper/kcopyd.rst b/Documentation/admin-guide/device-mapper/kcopyd.rst
similarity index 100%
rename from Documentation/device-mapper/kcopyd.rst
rename to Documentation/admin-guide/device-mapper/kcopyd.rst
diff --git a/Documentation/device-mapper/linear.rst b/Documentation/admin-guide/device-mapper/linear.rst
similarity index 100%
rename from Documentation/device-mapper/linear.rst
rename to Documentation/admin-guide/device-mapper/linear.rst
diff --git a/Documentation/device-mapper/log-writes.rst b/Documentation/admin-guide/device-mapper/log-writes.rst
similarity index 100%
rename from Documentation/device-mapper/log-writes.rst
rename to Documentation/admin-guide/device-mapper/log-writes.rst
diff --git a/Documentation/device-mapper/persistent-data.rst b/Documentation/admin-guide/device-mapper/persistent-data.rst
similarity index 100%
rename from Documentation/device-mapper/persistent-data.rst
rename to Documentation/admin-guide/device-mapper/persistent-data.rst
diff --git a/Documentation/device-mapper/snapshot.rst b/Documentation/admin-guide/device-mapper/snapshot.rst
similarity index 100%
rename from Documentation/device-mapper/snapshot.rst
rename to Documentation/admin-guide/device-mapper/snapshot.rst
diff --git a/Documentation/device-mapper/statistics.rst b/Documentation/admin-guide/device-mapper/statistics.rst
similarity index 100%
rename from Documentation/device-mapper/statistics.rst
rename to Documentation/admin-guide/device-mapper/statistics.rst
diff --git a/Documentation/device-mapper/striped.rst b/Documentation/admin-guide/device-mapper/striped.rst
similarity index 100%
rename from Documentation/device-mapper/striped.rst
rename to Documentation/admin-guide/device-mapper/striped.rst
diff --git a/Documentation/device-mapper/switch.rst b/Documentation/admin-guide/device-mapper/switch.rst
similarity index 100%
rename from Documentation/device-mapper/switch.rst
rename to Documentation/admin-guide/device-mapper/switch.rst
diff --git a/Documentation/device-mapper/thin-provisioning.rst b/Documentation/admin-guide/device-mapper/thin-provisioning.rst
similarity index 100%
rename from Documentation/device-mapper/thin-provisioning.rst
rename to Documentation/admin-guide/device-mapper/thin-provisioning.rst
diff --git a/Documentation/device-mapper/unstriped.rst b/Documentation/admin-guide/device-mapper/unstriped.rst
similarity index 100%
rename from Documentation/device-mapper/unstriped.rst
rename to Documentation/admin-guide/device-mapper/unstriped.rst
diff --git a/Documentation/device-mapper/verity.rst b/Documentation/admin-guide/device-mapper/verity.rst
similarity index 100%
rename from Documentation/device-mapper/verity.rst
rename to Documentation/admin-guide/device-mapper/verity.rst
diff --git a/Documentation/device-mapper/writecache.rst b/Documentation/admin-guide/device-mapper/writecache.rst
similarity index 100%
rename from Documentation/device-mapper/writecache.rst
rename to Documentation/admin-guide/device-mapper/writecache.rst
diff --git a/Documentation/device-mapper/zero.rst b/Documentation/admin-guide/device-mapper/zero.rst
similarity index 100%
rename from Documentation/device-mapper/zero.rst
rename to Documentation/admin-guide/device-mapper/zero.rst
diff --git a/Documentation/admin-guide/index.rst b/Documentation/admin-guide/index.rst
index 42819addebc6..e0763c51b024 100644
--- a/Documentation/admin-guide/index.rst
+++ b/Documentation/admin-guide/index.rst
@@ -79,6 +79,7 @@ configure specific aspects of kernel behavior to your liking.
namespaces/index
perf-security
acpi/index
+ device-mapper/index

.. only:: subproject and html

diff --git a/MAINTAINERS b/MAINTAINERS
index 524e2c4300dc..40d057631004 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4703,7 +4703,7 @@ Q: http://patchwork.kernel.org/project/dm-devel/list/
T: git git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git
T: quilt http://people.redhat.com/agk/patches/linux/editing/
S: Maintained
-F: Documentation/device-mapper/
+F: Documentation/admin-guide/device-mapper/
F: drivers/md/Makefile
F: drivers/md/Kconfig
F: drivers/md/dm*
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index 5ccac0b77f17..3834332f4963 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -453,7 +453,7 @@ config DM_INIT
Enable "dm-mod.create=" parameter to create mapped devices at init time.
This option is useful to allow mounting rootfs without requiring an
initramfs.
- See Documentation/device-mapper/dm-init.rst for dm-mod.create="..."
+ See Documentation/admin-guide/device-mapper/dm-init.rst for dm-mod.create="..."
format.

If unsure, say N.
diff --git a/drivers/md/dm-init.c b/drivers/md/dm-init.c
index b65faef2c4b5..b869316d3722 100644
--- a/drivers/md/dm-init.c
+++ b/drivers/md/dm-init.c
@@ -25,7 +25,7 @@ static char *create;
* Format: dm-mod.create=<name>,<uuid>,<minor>,<flags>,<table>[,<table>+][;<name>,<uuid>,<minor>,<flags>,<table>[,<table>+]+]
* Table format: <start_sector> <num_sectors> <target_type> <target_args>
*
- * See Documentation/device-mapper/dm-init.rst for dm-mod.create="..." format
+ * See Documentation/admin-guide/device-mapper/dm-init.rst for dm-mod.create="..." format
* details.
*/

diff --git a/drivers/md/dm-raid.c b/drivers/md/dm-raid.c
index 7a87a640f8ba..8a60a4a070ac 100644
--- a/drivers/md/dm-raid.c
+++ b/drivers/md/dm-raid.c
@@ -3558,7 +3558,7 @@ static void raid_status(struct dm_target *ti, status_type_t type,
* v1.5.0+:
*
* Sync action:
- * See Documentation/device-mapper/dm-raid.rst for
+ * See Documentation/admin-guide/device-mapper/dm-raid.rst for
* information on each of these states.
*/
DMEMIT(" %s", sync_action);
--
2.21.0