Re: [Ocfs2-devel] [PATCH] ocfs2: reflink deadlock when clone file to the same directory simultaneously

From: Andrew Morton
Date: Sun Oct 16 2022 - 22:29:10 EST


On Mon, 17 Oct 2022 09:51:14 +0800 Joseph Qi <jiangqi903@xxxxxxxxx> wrote:

> Hi Andrew,
>
> On 10/17/22 7:29 AM, Andrew Morton via Ocfs2-devel wrote:
> > On Thu, 26 Aug 2021 13:56:16 +0800 Gang He <ghe@xxxxxxxx> wrote:
> >
> >> So, I will send a new patch to fix this deadlock problem via dlmglue layer.
> >> For this patch, I want to change the patch comments as a reflink
> >> improvement patch.
> >
> > Did this ever happen? I've been sitting on this patch for ages.
> >
> Looked back this thread, the root cause of deadlock seems to be the
> asynchronous of fsdlm handling. So this is not a right fix.
> While for the performance improvement, I need some test data as well.

OK, thanks, I dropped the patch.