All of lore.kernel.org
 help / color / mirror / Atom feed
* udev 215 creates inactive MD devices upon stopping them
@ 2014-07-24 14:48 ` Sebastian Parschauer
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Parschauer @ 2014-07-24 14:48 UTC (permalink / raw)
  To: linux-hotplug; +Cc: Linux RAID, artur.paszkiewicz, Francis Moreau

Hi,

as discussed on linux-raid, please fix the bug that udev 215 creates
inactive MD devices upon stopping them.

Reference: http://www.spinics.net/lists/raid/msg46676.html
Reported-by: Francis Moreau <francis.moro@gmail.com>

An open() call to /dev/mdX after creating it with mknod is enough to
create such inactive MD device.

According to Artur the issue is caused by this change in udev:

> commit 3ebdb81ef088afd3b4c72b516beb5610f8c93a0d
> Author: Kay Sievers <kay at vrfy.org>
> Date:   Sun Apr 13 19:54:27 2014 -0700
> 
>      udev: serialize/synchronize block device event handling with file locks
> 
> http://cgit.freedesktop.org/systemd/systemd/commit/?id>bdb81ef088afd3b4c72b516beb5610f8c93a0d
> 
> It seems that they have already disabled this for dm for some reason,
> but not for md:
> 
> commit e918a1b5a94f270186dca59156354acd2a596494
> Author: Kay Sievers <kay@vrfy.org>
> Date:   Tue Jun 3 16:49:38 2014 +0200
> 
>     udev: exclude device-mapper from block device ownership event locking
> 
> http://cgit.freedesktop.org/systemd/systemd/commit/?idé18a1b5a94f270186dca59156354acd2a596494
> 

Thanks,
Sebastian

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-07-24 22:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-24 14:48 udev 215 creates inactive MD devices upon stopping them Sebastian Parschauer
2014-07-24 14:48 ` Sebastian Parschauer
2014-07-24 15:48 ` Sebastian Parschauer
2014-07-24 21:53   ` Kay Sievers
2014-07-24 22:17     ` NeilBrown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.