Re: [PATCH AUTOSEL 7.0-5.15] fuse: mark DAX inode releases as blocking

From: Darrick J. Wong

Date: Mon Apr 20 2026 - 13:01:33 EST


On Mon, Apr 20, 2026 at 09:21:20AM -0400, Sasha Levin wrote:
> From: Sergio Lopez <slp@xxxxxxxxxx>
>
> [ Upstream commit 42fbb31310b2c145308d3cdcb32d8f05998cfd6c ]

<snip>

> - UNVERIFIED: Could not access lore.kernel.org discussion thread due to
> Anubis protection

HAHAHA LOL

> **YES**

Yes, I thin this patch is appropriate for 6.1.

--D

> fs/fuse/file.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/fs/fuse/file.c b/fs/fuse/file.c
> index 676fd9856bfbf..14740134faff7 100644
> --- a/fs/fuse/file.c
> +++ b/fs/fuse/file.c
> @@ -117,6 +117,12 @@ static void fuse_file_put(struct fuse_file *ff, bool sync)
> fuse_simple_request(ff->fm, args);
> fuse_release_end(ff->fm, args, 0);
> } else {
> + /*
> + * DAX inodes may need to issue a number of synchronous
> + * request for clearing the mappings.
> + */
> + if (ra && ra->inode && FUSE_IS_DAX(ra->inode))
> + args->may_block = true;
> args->end = fuse_release_end;
> if (fuse_simple_background(ff->fm, args,
> GFP_KERNEL | __GFP_NOFAIL))
> --
> 2.53.0
>