diff options
author | NeilBrown <neilb@suse.de> | 2007-02-28 20:11:35 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-01 14:53:36 -0800 |
commit | 7dd5e7c3dbe8c4ffb507ddc0ea8fab07c8b11b0b (patch) | |
tree | c045b733c5cf959e8f4e8608f4344f49e69d4e6c /drivers/md/raid1.c | |
parent | a723406c4aeedb9dc5d54fb81130d13c757f41bc (diff) |
[PATCH] md: move warning about creating a raid array on partitions of the one device
md tries to warn the user if they e.g. create a raid1 using two partitions of
the same device, as this does not provide true redundancy.
However it also warns if a raid0 is created like this, and there is nothing
wrong with that.
At the place where the warning is currently printer, we don't necessarily know
what level the array will be, so move the warning from the point where the
device is added to the point where the array is started.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions