dm flakey: support feature args
authorMike Snitzer <snitzer@redhat.com>
Tue, 2 Aug 2011 11:32:05 +0000 (12:32 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 2 Aug 2011 11:32:05 +0000 (12:32 +0100)
commitdfd068b01f02653c6650f1c0eda443b2655d1471
treee61e92a4a1e6b4c0170a87453219cabaf66e312a
parent30e4171bfe3d1c49689803338005cc0071dddaff
dm flakey: support feature args

Add the ability to specify arbitrary feature flags when creating a
flakey target.  This code uses the same target argument helpers that
the multipath target does.

Also remove the superfluous 'dm-flakey' prefixes from the error messages,
as they already contain the prefix 'flakey'.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-flakey.c