Hi Joel, On 01/06/2016 07:47 AM, Joel Becker wrote: > On Tue, Jan 05, 2016 at 09:46:49AM +0800, Junxiao Bi wrote: >> Hi Mark, >> >> We may fix this issue in another way, without recursive locking and >> without refactoring. We can check before asking for the second locking, >> if lock is already hold, then skip the second locking, do you agree >> fixing like this? > > Hey Junxiao, > > What is to prevent the second lock from being dropped while in the > middle of the operation? Log processes id into lockres when lock is got. When do second locking, if this lock is already got by this process, then skip it.
Thanks, Junxiao. > > Joel > _______________________________________________ Ocfs2-devel mailing list Ocfs2-devel@oss.oracle.com https://oss.oracle.com/mailman/listinfo/ocfs2-devel