summaryrefslogtreecommitdiffstats
path: root/ReadMe.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2010-06-22 16:30:59 -0700
committerDan Williams <dan.j.williams@intel.com>2010-06-22 16:30:59 -0700
commitaa534678baad80689a642ba1bd602a00a267ac03 (patch)
treefc9283b2873a1f38060e76d375fce1cfa93f840d /ReadMe.c
parent33414a0182ae193150f65f7bca97a7e4d818a49e (diff)
downloadmdadm-aa534678baad80689a642ba1bd602a00a267ac03.tar.gz
mdadm-aa534678baad80689a642ba1bd602a00a267ac03.tar.xz
mdadm-aa534678baad80689a642ba1bd602a00a267ac03.zip
Rename subarray v2
Allow the name of the array stored in the metadata to be updated. In some cases the metadata format may not be able to support this rename without modifying the UUID. In these cases the request will be blocked. Otherwise we allow the rename to take place, even for active arrays. This assumes that the user understands the difference between the kernel node name, the device node symlink name, and the metadata specific name. Anticipating further need to modify subarrays in-place, introduce the ->update_subarray() superswitch method. A future potential use case is setting storage pool (spare-group) identifiers. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'ReadMe.c')
-rw-r--r--ReadMe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ReadMe.c b/ReadMe.c
index 387ba6d..fa33310 100644
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -109,6 +109,7 @@ struct option long_options[] = {
{"auto-detect", 0, 0, AutoDetect},
{"detail-platform", 0, 0, DetailPlatform},
{"kill-subarray", 1, 0, KillSubarray},
+ {"update-subarray", 1, 0, UpdateSubarray},
/* synonyms */
{"monitor", 0, 0, 'F'},