Linux-Fsdevel Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: Pradeep P V K <pragalla@qti.qualcomm.com>
Cc: miklos@szeredi.hu, linux-fsdevel@vger.kernel.org,
stummala@codeaurora.org, sayalil@codeaurora.org,
Pradeep P V K <ppvk@codeaurora.org>
Subject: Re: [PATCH V4] fuse: Fix VM_BUG_ON_PAGE issue while accessing zero ref count page
Date: Tue, 8 Sep 2020 12:27:53 +0100 [thread overview]
Message-ID: <20200908112753.GD27537@casper.infradead.org> (raw)
In-Reply-To: <1599553026-11745-1-git-send-email-pragalla@qti.qualcomm.com>
On Tue, Sep 08, 2020 at 01:47:06PM +0530, Pradeep P V K wrote:
> Changes since V3:
> - Fix smatch warnings.
>
> Changes since V2:
> - Moved the spin lock from fuse_copy_pages() to fuse_ref_page().
>
> Changes since V1:
> - Modified the logic as per kernel v5.9-rc1.
> - Added Reported by tag.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Umm, the way this is written, it looks like Dan reported the original
bug rather than a bug in v3. The usual way is to credit Dan in the
'Changes since' rather than putting in a 'Reported-by'.
> static int fuse_ref_page(struct fuse_copy_state *cs, struct page *page,
> - unsigned offset, unsigned count)
> + unsigned offset, unsigned count, struct fuse_conn *fc)
I'm no expert on fuse, but it looks to me like you should put a pointer
to the fuse_conn in struct fuse_copy_state rather than passing it down
through all these callers.
next prev parent reply other threads:[~2020-09-08 11:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-08 8:17 Pradeep P V K
2020-09-08 11:25 ` Miklos Szeredi
2020-09-10 15:42 ` ppvk
[not found] ` <0101017478aef256-c8471520-26b1-4b87-a3b8-8266627b704f-000000@us-west-2.amazonses.com>
2020-09-14 8:11 ` Miklos Szeredi
2020-09-14 13:32 ` ppvk
2020-09-16 15:31 ` ppvk
2020-09-18 8:40 ` Miklos Szeredi
2020-09-08 11:27 ` Matthew Wilcox [this message]
2020-09-10 15:49 ` ppvk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200908112753.GD27537@casper.infradead.org \
--to=willy@infradead.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=miklos@szeredi.hu \
--cc=ppvk@codeaurora.org \
--cc=pragalla@qti.qualcomm.com \
--cc=sayalil@codeaurora.org \
--cc=stummala@codeaurora.org \
--subject='Re: [PATCH V4] fuse: Fix VM_BUG_ON_PAGE issue while accessing zero ref count page' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).