Re: When using GFS+DLM, will DLM manage the locks on journals?

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

 



Ja S wrote:
--- Gordan Bobic <gordan@xxxxxxxxxx> wrote:

Ja S wrote:
Hi, All:

Just want to get a clarification.

When using GFS+DLM, will the locks of journals be
managed also by DLM in the same way as that for
normal
data files?
My understanding is that there is no locking on the
journals across nodes except when a node gets fenced and it's journal needs to be replayed to ensure data is consistent. Each node has
it's own journal.

Thanks. Then what this "can't acquire the journal
glock:" error is about?

I think the journals are allocated on a first-come first-served basis to the nodes as they connect to the shared storage. Each node locks it's own journal to ensure that it is marked as "in use". That's why you'll see that message at mount time. But I don't think there is any journal locking going on under normal operation.

Gordan

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[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