summaryrefslogtreecommitdiff
path: root/fs/proc_namespace.c
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2015-04-29 15:03:04 +0300
committerMike Snitzer <snitzer@redhat.com>2015-05-29 21:19:00 +0300
commit0cf4503174c12025ac7ea61048cb7c1d4d1ed85c (patch)
tree52b88a85b6bd98f5156ecd2c1e573e04fcb7c59a /fs/proc_namespace.c
parentc76d53f43ec4f9b9f200f031d303f21bdf6927d0 (diff)
downloadlinux-0cf4503174c12025ac7ea61048cb7c1d4d1ed85c.tar.xz
dm raid: add support for the MD RAID0 personality
Add dm-raid access to the MD RAID0 personality to enable single zone striping. The following changes enable that access: - add type definition to raid_types array - make bitmap creation conditonal in super_validate(), because bitmaps are not allowed in raid0 - set rdev->sectors to the data image size in super_validate() to allow the raid0 personality to calculate the MD array size properly - use mdddev(un)lock() functions instead of direct mutex_(un)lock() (wrapped in here because it's a trivial change) - enhance raid_status() to always report full sync for raid0 so that userspace checks for 100% sync will succeed and allow for resize (and takeover/reshape once added in future paches) - enhance raid_resume() to not load bitmap in case of raid0 - add merge function to avoid data corruption (seen with readahead) that resulted from bio payloads that grew too large. This problem did not occur with the other raid levels because it either did not apply without striping (raid1) or was avoided via stripe caching. - raise version to 1.7.0 because of the raid0 API change Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Reviewed-by: Jonathan Brassow <jbrassow@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'fs/proc_namespace.c')
0 files changed, 0 insertions, 0 deletions