dm raid1: add handle_errors feature flag
commita8e6afa2363de7ee0dea1a3297f6236f421c2dd4
authorJonathan E Brassow <jbrassow@redhat.com>
Wed, 9 May 2007 09:32:59 +0000 (9 02:32 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:47 +0000 (9 12:30 -0700)
treef0559bd5e25dbafaee331815c75774fa0834252b
parent315dcc226f066c1d3cef79283dcde807fe0e32d1
dm raid1: add handle_errors feature flag

This patch adds the ability to specify desired features in the mirror
constructor/mapping table.

The first feature of interest is "handle_errors".  Currently, mirroring will
ignore any I/O errors from the devices.  Subsequent patches will check for
this flag and handle the errors.  If flag/feature is not present, mirror will
do nothing - maintaining backwards compatibility.

Signed-off-by: Jonathan E Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/dm-raid1.c