Sorry, I missed a patch that should have gone in-between the MD and DM patches: md-backout-dm-dirty-log.patch md-minor-updates.patch md-fix-null-pointer-deref.patch -> md-new-mddev-flag-value.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 dm-raid-suspend-and-resume-fns.patch Mea Culpa, brassow Add a new possible flag for the mddev structure. The flag is used by device-mapper to tell MD to override the information it finds in the superblock/bitmap WRT the overall [re]sync of the array. Signed-off-by: Jonathan Brassow <jbrassow@xxxxxxxxxx> Index: linux-2.6/drivers/md/md.h =================================================================== --- linux-2.6.orig/drivers/md/md.h +++ linux-2.6/drivers/md/md.h @@ -140,6 +140,7 @@ struct mddev_s #define MD_CHANGE_DEVS 0 /* Some device status has changed */ #define MD_CHANGE_CLEAN 1 /* transition to or from 'clean' */ #define MD_CHANGE_PENDING 2 /* switch from 'clean' to 'active' in progress */ +#define MD_SYNC_STATE_FORCED 4 /* recovery_cp is set and must be honored */ int suspended; atomic_t active_io; -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel