[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJfpegtrmm=+9QkQoQm3t2=GjcwTEAcmCt_ChLkXjn9Bg7M_UA@mail.gmail.com>
Date: Wed, 16 Aug 2023 10:05:08 +0200
From: Miklos Szeredi <miklos@...redi.hu>
To: ruan.meisi@....com.cn
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nlookup missing decrement in fuse_direntplus_link
On Fri, 11 Aug 2023 at 09:12, <ruan.meisi@....com.cn> wrote:
>
> From 53aad83672123dbe01bcef9f9026becc4e93ee9f Mon Sep 17 00:00:00 2001
> From: ruanmeisi <ruan.meisi@....com.cn>
> Date: Tue, 25 Apr 2023 19:13:54 +0800
> Subject: [PATCH] nlookup missing decrement in fuse_direntplus_link
>
> During our debugging of glusterfs, we found an Assertion
> failed error: inode_lookup >= nlookup, which was caused by the
> nlookup value in the kernel being greater than that in the FUSE
> file system.The issue was introduced by fuse_direntplus_link,
> where in the function, fuse_iget increments nlookup, and if
> d_splice_alias returns failure, fuse_direntplus_link returns
> failure without decrementing nlookup
> https://github.com/gluster/glusterfs/pull/4081
>
> Signed-off-by: ruanmeisi <ruan.meisi@....com.cn>
Applied, thanks.
Miklos
Powered by blists - more mailing lists