]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dm thin: update Documentation to clarify when "read_only" is valid
authorMike Snitzer <snitzer@redhat.com>
Thu, 10 May 2018 15:18:49 +0000 (11:18 -0400)
committerMike Snitzer <snitzer@redhat.com>
Thu, 10 May 2018 15:18:49 +0000 (11:18 -0400)
Due to user confusion, clarify that it doesn't make sense to try to
create a thin-pool with "read_only" mode enabled.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Documentation/device-mapper/thin-provisioning.txt

index 4bcd4b7f79f9437077b5c0b5dc0e9b8e119fb9ac..3d01948ea0611f56e4cf603dd2df14548b42471c 100644 (file)
@@ -264,7 +264,10 @@ i) Constructor
                           data device, but just remove the mapping.
 
       read_only: Don't allow any changes to be made to the pool
-                metadata.
+                metadata.  This mode is only available after the
+                thin-pool has been created and first used in full
+                read/write mode.  It cannot be specified on initial
+                thin-pool creation.
 
       error_if_no_space: Error IOs, instead of queueing, if no space.