[PATCH <missing> of 8: MD new mddev flag value
Subsystems (2)
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 <[email protected]>
drivers/md/md.h +1 -0
@@ -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;