[dm-devel] [PATCH 28/57] libmultipath: use a shared lock to co-operate with udev

Alasdair G Kergon agk at redhat.com
Tue May 3 14:38:49 UTC 2016


On Tue, May 03, 2016 at 09:27:32AM -0500, Benjamin Marzinski wrote:
> I don't see why this same issue can't happen for anyone creating any
> type of dm device build out of multiple physical devices, and AFAIK, lvm
> doesn't bother to protect users against this, even though it can now
> autoassemble. So I'm not against dropping this either.
 
LVM operations are co-ordinated using a variety of locks in
/var/lock/lvm.  The prefix "A_" is used for the locks designed to avoid
concurrent activation attempts on the same volume.

Alasdair




More information about the dm-devel mailing list