Re: [PATCH 5.15 056/917] fuse: fix page stealing
From: Justin Forbes
Date: Wed Nov 24 2021 - 13:07:01 EST
On Wed, Nov 24, 2021 at 3:23 AM Miklos Szeredi <mszeredi@xxxxxxxxxx> wrote:
>
> On Wed, Nov 24, 2021 at 1:40 AM Justin Forbes <jmforbes@xxxxxxxxxxx> wrote:
> > Thanks, did a scratch build for that and dropped it in the bug. Only
> > one user has reported back, but the report was that it did not fix the
> > issue. I have also gotten confirmation now that the issue is occuring
> > with 5.16-rc2.
>
> Okay.
>
> Morning light brings clarity to the mind. Here's a patch that should
> definitely fix this bug, as well as the very unlikely race of the page
> being truncated from the page cache before pipe_buf_release() is
> called.
>
> Please test.
Thanks, did a scratch build. and multiple users have reported back
saying that this patch does in fact fix the issue.
Justin