[systemd-devel] systemd kills mdmon if it was started manually by user

Kay Sievers kay.sievers at vrfy.org
Sun Nov 6 19:42:54 PST 2011


On Mon, Nov 7, 2011 at 03:52, NeilBrown <neilb at suse.de> 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


More information about the systemd-devel mailing list