Re: [Linux-cluster] GFS 2 node hang in rm test

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

 



Hi Patrick,

On Friday 10 December 2004 04:14, Patrick Caulfield wrote:
> On Thu, Dec 09, 2004 at 04:52:42PM -0500, Daniel Phillips wrote:
> If you call dlm_lock() with the same parameters twice then you will get
> two seperate locks - in that case the CR will wait for the PW to get out
> of the way. What is really confusing the issue is that both locks are
> sharing a lock status block - so it's possible that one lock is being
> marked INPROGRESS immediately after the first has completed, in that case
> the library will have a lot of difficulty in digging you out of your own
> hole I'm afraid as it can't disentangle the status of your two locks.

For robustness, dlm_unlock(_wait) ought to return an error in that case.

But are these locks supposed to be recursive or not?

Regards,

Daniel


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux