From: Jingbo Xu <jefflexu@linux.alibaba.com>
To: miklos@szeredi.hu, joannelkoong@gmail.com, linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ak: fuse: fix premature writetrhough request for large folio
Date: Wed, 14 Jan 2026 17:04:03 +0800 [thread overview]
Message-ID: <70969f64-1e67-4993-b980-3e38c59196a6@linux.alibaba.com> (raw)
In-Reply-To: <20260114055615.17903-1-jefflexu@linux.alibaba.com>
On 1/14/26 1:56 PM, Jingbo Xu wrote:
> When large folio is enabled and the initial folio offset exceeds
> PAGE_SIZE, e.g. the position resides in the second page of a large
> folio, after the folio copying the offset (in the page) won't be updated
> to 0 even though the expected range is successfully copied until the end
> of the folio. In this case fuse_fill_write_pages() exits prematurelly
> before the request has reached the max_write/max_pages limit.
>
> Fix this by eliminating page offset entirely and use folio offset
> instead.
>
> Fixes: d60a6015e1a2 ("fuse: support large folios for writethrough writes")
> Cc: stable@vger.kernel.org
> Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
> ---
Sorry I will drop the incorrect prefix of the subject line later in v2
leaving some time for more feedbacks.
--
Thanks,
Jingbo
prev parent reply other threads:[~2026-01-14 9:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-14 5:56 Jingbo Xu
2026-01-14 8:58 ` Horst Birthelmer
2026-01-14 9:05 ` Jingbo Xu
2026-01-14 9:04 ` Jingbo Xu [this message]
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=70969f64-1e67-4993-b980-3e38c59196a6@linux.alibaba.com \
--to=jefflexu@linux.alibaba.com \
--cc=joannelkoong@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®