1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-26 02:25:00 -05:00
linux/Documentation/device-mapper
Heinz Mauelshagen 0cf4503174 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>
2015-05-29 14:19:00 -04:00
..
cache-policies.txt dm cache policy mq: simplify ability to promote sequential IO to the cache 2014-11-10 15:25:30 -05:00
cache.txt
delay.txt
dm-crypt.txt dm crypt: update URLs to new cryptsetup project page 2015-04-15 12:10:24 -04:00
dm-flakey.txt
dm-io.txt
dm-log.txt
dm-queue-length.txt
dm-raid.txt dm raid: add support for the MD RAID0 personality 2015-05-29 14:19:00 -04:00
dm-service-time.txt
dm-uevent.txt
era.txt
kcopyd.txt
linear.txt
log-writes.txt dm: add log writes target 2015-04-15 12:10:24 -04:00
persistent-data.txt
snapshot.txt
statistics.txt
striped.txt
switch.txt dm switch: fix Documentation to use plain text 2015-03-31 12:03:49 -04:00
thin-provisioning.txt dm thin: remove stale 'trim' message documentation 2015-04-15 12:10:22 -04:00
verity.txt dm crypt: update URLs to new cryptsetup project page 2015-04-15 12:10:24 -04:00
zero.txt