The patch titled md: change ONLINE/OFFLINE events to a single CHANGE event has been added to the -mm tree. Its filename is md-change-online-offline-events-to-a-single-change-event.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: md: change ONLINE/OFFLINE events to a single CHANGE event From: NeilBrown <neilb@xxxxxxx> It turns out that CHANGE is preferred to ONLINE/OFFLINE for various reasons (not least of which being that udev understands it already). So remove the recently added KOBJ_OFFLINE (no-one is likely to care anyway) and change the ONLINE to a CHANGE event Cc: Kay Sievers <kay.sievers@xxxxxxxx> Signed-off-by: Neil Brown <neilb@xxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/md/md.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/md/md.c~md-change-online-offline-events-to-a-single-change-event drivers/md/md.c --- a/drivers/md/md.c~md-change-online-offline-events-to-a-single-change-event +++ a/drivers/md/md.c @@ -3200,7 +3200,7 @@ static int do_md_run(mddev_t * mddev) mddev->changed = 1; md_new_event(mddev); - kobject_uevent(&mddev->gendisk->kobj, KOBJ_ONLINE); + kobject_uevent(&mddev->gendisk->kobj, KOBJ_CHANGE); return 0; } @@ -3314,7 +3314,6 @@ static int do_md_stop(mddev_t * mddev, i module_put(mddev->pers->owner); mddev->pers = NULL; - kobject_uevent(&mddev->gendisk->kobj, KOBJ_OFFLINE); if (mddev->ro) mddev->ro = 0; } _ Patches currently in -mm which might be from neilb@xxxxxxx are origin.patch nfsd4-reindent-do_open_lookup.patch nfsd4-fix-open-create-permissions.patch md-change-online-offline-events-to-a-single-change-event.patch md-fix-sizing-problem-with-raid5-reshape-and-config_lbd=n.patch md-do-not-freeze-md-threads-for-suspend.patch md-tidy-up-device-change-notification-when-an-md-array-is-stopped.patch md-change-lifetime-rules-for-md-devices.patch md-define-raid5_mergeable_bvec.patch md-handle-bypassing-the-read-cache-assuming-nothing-fails.patch md-allow-reads-that-have-bypassed-the-cache-to-be-retried-on-failure.patch md-allow-reads-that-have-bypassed-the-cache-to-be-retried-on-failure-fix.patch md-enable-bypassing-cache-for-reads.patch auth_gss-unregister-gss_domain-when-unloading-module-fix.patch fix-sunrpc-wakeup-execute-race-condition.patch lockdep-annotate-nfs-nfsd-in-kernel-sockets.patch lockdep-annotate-nfs-nfsd-in-kernel-sockets-tidy.patch remove-lock_key-approach-to-managing-nested-bd_mutex-locks.patch simplify-some-aspects-of-bd_mutex-nesting.patch use-mutex_lock_nested-for-bd_mutex-to-avoid-lockdep-warning.patch avoid-lockdep-warning-in-md.patch bdev-fix-bd_part_count-leak.patch lockdep-annotate-nfsd4-recover-code.patch md-conditionalize-some-code.patch md-dm-reduce-stack-usage-with-stacked-block-devices.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html