[PATCH] Re: [linux-lvm] Clarifications wanted about locking process

Petr Rockai prockai at redhat.com
Fri Aug 14 11:49:13 UTC 2009

Alasdair G Kergon <agk at redhat.com> writes:
> On Thu, Aug 13, 2009 at 08:13:39PM -0400, Eric Bélanger wrote:
>> Since I updated from lvm2 2.02.48 to 2.02.51, I'm getting this message
>> on boot-up:
>> Write locks are prohibited with --ignorelockingfailure.
>> Unable to obtain global lock.
> Sounds like a bug.
The attached patch should fix the issue. I believe that taking a global write
lock while scanning is a mistake (I consulted with Milan, he says it only
serves to enable metadata caching).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: scanning-read-locks.diff
Type: text/x-diff
Size: 1011 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20090814/b724eaea/attachment.bin>

More information about the linux-lvm mailing list