diff options
author | NeilBrown <neilb@suse.com> | 2017-04-13 08:53:48 +1000 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-04-20 13:25:51 -0700 |
commit | 97b20ef784388753becb41b27876a048e905fe9b (patch) | |
tree | 2f7128cc65e3cbbcf6b78f0bd0d97919ad6de6a7 /drivers/md/raid1.c | |
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>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions