commit | 97b20ef784388753becb41b27876a048e905fe9b | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Thu Apr 13 08:53:48 2017 +1000 |
committer | Shaohua Li <shli@fb.com> | Thu Apr 20 13:25:51 2017 -0700 |
tree | 2f7128cc65e3cbbcf6b78f0bd0d97919ad6de6a7 | |
parent | cf25ae78fc50010f66b9be945017796da34c434d [diff] |
md: handle read-only member devices better. 1/ If an array has any read-only devices when it is started, the array itself must be read-only 2/ A read-only device cannot be added to an array after it is started. 3/ Setting an array to read-write should not succeed if any member devices are read-only Reported-and-Tested-by: Nanda Kishore Chinnaram <Nanda_Kishore_Chinna@dell.com> Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>