[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH] Always use blocking lock for VGs and orphan locks.



On Wed, Mar 31, 2010 at 04:05:08PM +0200, Milan Broz wrote:
> Because we have now strong rule for lock ordering:
>  - VG locks must be taken in alphabetical order
>  - ORPHAN locks must be the last
> vgs_locked() is now not needed.
> This fixes problem with orphan locking, e.g.
> vgremove VG1    |    vgremove VG2
> lock(VG1)       |    lock(VG2)
> lock(ORPHAN)    |    lock(ORPHAN) -> fail, non-blocking
> https://bugzilla.redhat.com/show_bug.cgi?id=578413
 
Ack.

Alasdair


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]