On Mon, Nov 7, 2011 at 03:52, NeilBrown <neilb@xxxxxxx> wrote: > However there is an important piece missing. When you remount,ro a > filesystem, the block device doesn't get told so it thinks it is still open > read/write. So md cannot tell mdmon that the array is now read-only That ro/rw flag is visible in /proc/self/mountinfo, shouldn't it be possible for mdmon to poll() that file and let the kernel wake stuff up when the ro/rw flag changes, like we do for the usual mount changes already? Kay -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html