From: Eric Biggers <ebiggers@kernel.org>
To: "周伟江 (Weijiang Zhou)" <weijiang.zhou@unisoc.com>
Cc: "Sami Tolvanen" <samitolvanen@google.com>,
"Mikulas Patocka" <mpatocka@redhat.com>,
"dm-devel@lists.linux.dev" <dm-devel@lists.linux.dev>,
"Alasdair Kergon" <agk@redhat.com>,
"Mike Snitzer" <snitzer@kernel.org>,
"Benjamin Marzinski" <bmarzins@redhat.com>,
"金红宇 (Hongyu Jin)" <hongyu.jin@unisoc.com>,
"吴祥禄 (Xianglu Wu)" <Xianglu.Wu@unisoc.com>,
"吴周镜 (Justin Wu)" <Justin.Wu@unisoc.com>
Subject: Re: [RFC PATCH 1/2] dm-verity: don't decode FEC into a dm_bufio page that is already in the cache
Date: Wed, 2 Dec 2026 19:04:29 +0000 [thread overview]
Message-ID: <20261202190429.GC338490@google.com> (raw)
In-Reply-To: <f43b60591b5d49a4b815c5442233f105@zeshmbx08.spreadtrum.com>
Hi Weijiang,
On Wed, Dec 02, 2026 at 01:05:19PM +0000, 周伟江 (Weijiang Zhou) wrote:
> Hi Eric, Sami and Mikulas,
>
> Sorry to ping this thread again - we know this is a busy time of
> year, and we are grateful for the help you have already given us.
>
> We are gently following up on the four-patch series we sent on Nov 19
> (as attachments in this thread), which implements the approach you
> recommended: FEC decodes into the per-I/O fio->output buffer first
> and populates the cache atomically through a new dm-bufio interface
> (0002/0003), and the corruption policy is no longer invoked while the
> erasure lookup walks the hash tree (0004).
>
> First, could you let us know whether that email and its attachments
> reached you? Our corporate mail gateway has mangled our outbound mail
> before (the lost TABs and the appended footers you saw), so if the
> message or the patches arrived damaged or were filtered out, we will
> gladly resend them inline.
>
> Second, whenever you can find a moment, we would appreciate your
> comments on patches 0002-0004. We are not committed to our own
> version: if you see a better approach, or if you would rather take the
> series over, rework it, or replace it with something of your own, we
> would much prefer the fix to come from you. On our side the stress
> testing of the series is still in progress; we will share the results
> as soon as it completes.
I did get the patches, and it's on my long list of things to review.
I've just been busy with other things, sorry.
Note that attachments are not the normal way to send Linux kernel
patches. Also, all your emails also have a notice at the bottom telling
people to delete your emails.
It would be helpful if you would resend them in the normal format as per
Documentation/process/submitting-patches.rst, and also without asking
for them to be deleted. Then people would be more likely to look at
them.
> 1. Eric, you mentioned that the shutdown workaround (upstream commit
> 47930d1236d2, now also queued for the 6.12/6.18/7.3 stable trees)
> had been cherry-picked to the Android Common Kernel branches.
> Will it be part of the December quarterly release (QPR)? If not,
> when is the next GKI build that contains it expected? Our Android
> 17 projects pace their OTA plans against the GKI cadence, so even
> a rough estimate would help us a lot.
>
> 2. About the FEC root-cause fix (our 0002-0004, or your own version
> of it): our devices boot Google's GKI images, so we cannot carry
> the series in our own kernel - for now it only runs on an internal
> test branch for stress testing, and the fix has to reach our
> devices through the ACK/GKI. On the geometries we described, a
> single failed hash read reports corruption even outside shutdown,
> so the timing matters to us. Is there any chance the fix could
> still make it into the December QPR, or would it be a later one?
> And is there anything we can do from our side to help it along?
>
> As always, we have devices that reproduce the issue and are glad to
> verify any approach you prefer.
>
> Thank you again for your time and guidance.
The commit is in the android16-6.12-2026-12 and android17-6.18-2026-12
release branches already. If you need it in other branches too, you
could submit a GKI respin request using the process documented at
source.android.com. In any case, if you have any further questions
about Android / GKI specific stuff please use the partner issue tracker,
as it isn't relevant to the upstream mailing lists.
Thanks!
- Eric
next prev parent reply other threads:[~2026-12-02 19:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 13:06 [RFC PATCH 0/2] dm-verity: don't let FEC decode into a dm_bufio page that is already in the cache 周伟江 (Weijiang Zhou)
2026-11-10 13:06 ` [RFC PATCH 1/2] dm-verity: don't decode FEC " 周伟江 (Weijiang Zhou)
2026-11-10 21:08 ` Mikulas Patocka
2026-11-11 3:14 ` 周伟江 (Weijiang Zhou)
2026-11-11 23:33 ` Mikulas Patocka
2026-11-12 0:38 ` Sami Tolvanen
2026-11-13 5:36 ` Eric Biggers
2026-11-19 13:22 ` 周伟江 (Weijiang Zhou)
2026-12-02 13:05 ` 周伟江 (Weijiang Zhou)
2026-12-02 19:04 ` Eric Biggers [this message]
2026-11-10 13:06 ` [RFC PATCH 2/2] dm-verity: don't restart or panic on errors during system shutdown 周伟江 (Weijiang Zhou)
2026-11-10 21:13 ` Mikulas Patocka
2026-11-11 3:14 ` 周伟江 (Weijiang Zhou)
2026-11-11 22:48 ` Mikulas Patocka
2026-11-13 5:55 ` Eric Biggers
2026-11-13 7:40 ` 回复: " 周伟江 (Weijiang Zhou)
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=20261202190429.GC338490@google.com \
--to=ebiggers@kernel.org \
--cc=Justin.Wu@unisoc.com \
--cc=Xianglu.Wu@unisoc.com \
--cc=agk@redhat.com \
--cc=bmarzins@redhat.com \
--cc=dm-devel@lists.linux.dev \
--cc=hongyu.jin@unisoc.com \
--cc=mpatocka@redhat.com \
--cc=samitolvanen@google.com \
--cc=snitzer@kernel.org \
--cc=weijiang.zhou@unisoc.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.