[Ocfs2-devel] [PATCH] ocfs2: dlm: fix recursive locking deadlock

Mark Fasheh mfasheh at suse.de
Mon Dec 14 11:18:27 PST 2015


On Mon, Dec 14, 2015 at 02:03:17PM +0800, Junxiao Bi wrote:
> > Second, this issue can be reproduced in old Linux kernels (e.g. 3.16.7-24)? there should not be any regression issue? 
> Maybe just hard to reproduce, ocfs2 supports recursive locking.

In what sense? The DLM might but the FS should never be making use of such a
mechanism (it would be for userspace users).

We really can't add recursive locks without this getting rejected upstream.
There's a whole slew of reasons why we don't like those in the kernel.
	--Mark

--
Mark Fasheh



More information about the Ocfs2-devel mailing list