From: Cheng Yongkang <teel4res@gmail.com>
To: Qu Wenruo <wqu@suse.com>
Cc: Cheng Yongkang <teel4res@gmail.com>,
David Sterba <dsterba@suse.com>, Chris Mason <mason@kernel.org>,
Filipe Manana <fdmanana@kernel.org>,
linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] btrfs: reject zero num_stripes in the system chunk array
Date: Sun, 1 Nov 2026 00:16:06 -0700 [thread overview]
Message-ID: <20261101071606.1854874-1-teel4res@gmail.com> (raw)
In-Reply-To: <d2ee0cc1-674e-4447-88da-d346122a43a4@suse.com>
Hi Qu,
Thanks, I've sent v2 with your change:
https://lore.kernel.org/linux-btrfs/20261101071444.1853699-1-teel4res@gmail.com/
I also need to correct my earlier reply: with the assertion disabled,
the old expression gives 48 bytes for zero stripes, not 16, and
btrfs_check_chunk_valid() runs before the loop advances over the
chunk. So removing the assertion is enough, as you said. Sorry for the
confusion.
Thanks,
Cheng Yongkang
prev parent reply other threads:[~2026-11-01 7:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 14:12 Cheng Yongkang
2026-10-29 17:55 ` Filipe Manana
2026-10-30 8:01 ` Cheng Yongkang
2026-10-29 21:00 ` Qu Wenruo
2026-10-30 8:01 ` Cheng Yongkang
2026-10-30 8:13 ` Qu Wenruo
2026-11-01 7:16 ` Cheng Yongkang [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=20261101071606.1854874-1-teel4res@gmail.com \
--to=teel4res@gmail.com \
--cc=dsterba@suse.com \
--cc=fdmanana@kernel.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mason@kernel.org \
--cc=wqu@suse.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 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®