[dm-devel] [PATCH 0 of 8] DM RAID: a wrapper target for MD RAID456 (skeleton)

Jonathan Brassow jbrassow at redhat.com
Fri Dec 10 23:22:19 UTC 2010


I've pulled out the minimum patches required to create a usable RAID456
target through device-mapper.  I feel these patches are ready for
inclusion.  The superblock/bitmap support is mostly working, but there
is some polishing left to do on those yet, so I will start treating
those as a separate bunch.  The patches I'm including are:
	md-backout-dm-dirty-log.patch
	md-minor-updates.patch
	md-fix-null-pointer-deref.patch

	dm-raid-seed-module.patch
	dm-target-callbacks-and-congestion-fn.patch
	dm-unplug-callback.patch
	dm-raid-iterate_devices-and-io_hints.patch
The DM patches can be applied independent of the MD patches.  There is
no need to wait for one side or the other to get their patches in first.

I'm fairly happy with the device-mapper table arguments, but I'd like
people to give some careful thought to the names of the optional
arguments, which are:

[[no]sync]		No change.
[write_back=<int>]	This sets 'mddev->bitmap_info.max_write_behind'.
			Should this be 'max_write_behind', 'MaxWriteBehind',
			'WriteBehind'?
[daemon_sleep=<int>]	This is specified in seconds.  More granularity?
			'DaemonSleep'?
[stripecache=<int>]	Should this be 'stripe_cache' or 'StripeCache'?
[minspeed=<int>]	This sets the minimum RAID recovery speed in kB.
			Should this be 'min_recovery_speed' or some other
			variant?
[maxspeed=<int>]	Same questions as 'minspeed'.
[rebuild=<int>]		This argument is used to specify (by index) which
			drive to rebuild in an array.  This is probably
			fine as it is.

I've tar'ed up my quilt directory that contains the above patches for
convenience.  I've also included the script that generates the
device-mapper tables.

 brassow


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dm-raid-patches.tgz
Type: application/x-compressed-tar
Size: 11539 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20101210/77e8d79e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gime_raid.pl
Type: application/x-perl
Size: 6555 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20101210/77e8d79e/attachment.pl>


More information about the dm-devel mailing list