linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] can we change cluster_ringid_seq in libdlm from uint32_t to uint64_t?
@ 2020-04-26  7:24 Gang He
  2020-04-27 15:03 ` David Teigland
  0 siblings, 1 reply; 3+ messages in thread
From: Gang He @ 2020-04-26  7:24 UTC (permalink / raw)
  To: LVM general discussion and development

Hello List,

In libdlm code, cluster_ringid_seq variable is defined with uint32_t in dlm_controld/dlm_daemon.h,
the corosync API returns uinit64_t ring_id, in the current code, we use type cast to get the low-32bit ring-id.
But, in some case, the corosync returns a huge ring-id (greater than 32bit), the DLM daemon does not work normally (looks stuck).
Then, I want to know if we can change cluster_ringid_seq in libdlm from uint32_t to uint64_t?

If you'd like to know the details about why corosync ran into such a huge ringid, 
you could check the info from: https://github.com/corosync/corosync/pull/532#issuecomment-617647233

Thanks
Gang

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-15  7:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26  7:24 [linux-lvm] can we change cluster_ringid_seq in libdlm from uint32_t to uint64_t? Gang He
2020-04-27 15:03 ` David Teigland
2020-05-15  7:42   ` Gang He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).