]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Manage.c
Rename subarray v2
authorDan Williams <dan.j.williams@intel.com>
Tue, 22 Jun 2010 23:30:59 +0000 (16:30 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 22 Jun 2010 23:30:59 +0000 (16:30 -0700)
commitaa534678baad80689a642ba1bd602a00a267ac03
treefc9283b2873a1f38060e76d375fce1cfa93f840d
parent33414a0182ae193150f65f7bca97a7e4d818a49e
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>
Manage.c
ReadMe.c
mdadm.8
mdadm.c
mdadm.h
super-intel.c