All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] Question on LVB when the node that held EX lock crash
@ 2016-11-16  8:29 Eric Ren
  2016-11-16  8:42 ` Eric Ren
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Ren @ 2016-11-16  8:29 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Hi David and all,

I am debugging an issue of ocfs2 that relates to LVB value. I will try to make it a pure DLM 
question:

Two nodes (N1, N2) try to truncate the same file(R1) concurrently.

N1                                         N2
lock(R1, EX)
changing LVB: x
                                               lock(R1, EX)
convert(R1, NULL)
flush LVB
                                               changing LVB: x -> y
                                               crash
convert(R1, EX)
get LVB
Qustion: what is the LVB then? x or y?
======

Is this a valid question? or am I missing something?

Looking forward your help;-)

Thanks,
Eric



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

end of thread, other threads:[~2016-12-01  9:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-16  8:29 [Cluster-devel] Question on LVB when the node that held EX lock crash Eric Ren
2016-11-16  8:42 ` Eric Ren
2016-11-16 15:08   ` David Teigland
2016-11-17  9:30     ` Eric Ren
2016-11-30  9:07     ` Eric Ren
2016-11-30 16:16       ` David Teigland
2016-12-01  9:51         ` Eric Ren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.