From: David Sterba <dsterba@suse.cz>
To: Qu Wenruo <wqu@suse.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] btrfs: shrink the size of btrfs_bio
Date: Mon, 8 Dec 2025 20:19:03 +0100 [thread overview]
Message-ID: <20251208191903.GA4859@twin.jikos.cz> (raw)
In-Reply-To: <7ef5de8f907f74520338f0ce46f36f1335dc6e2f.1764921800.git.wqu@suse.com>
On Fri, Dec 05, 2025 at 06:34:30PM +1030, Qu Wenruo wrote:
> This is done by:
>
> - Shrink the size of btrfs_bio::mirror_num
> From 32 bits unsigned int to 8 bits u8.
What is the explanation for this? IIRC the mirror num on raid56 refers
to the device index, the type width should not be too narrow. But if
the semantics are different we can reduce the mirror num in other
structures as well.
next prev parent reply other threads:[~2025-12-08 19:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-05 8:04 [PATCH] btrfs: shrink the size of btrfs_bio Qu Wenruo
2025-12-05 10:09 ` Johannes Thumshirn
2025-12-08 19:19 ` David Sterba [this message]
2025-12-08 20:26 ` Qu Wenruo
2025-12-08 20:44 ` David Sterba
2025-12-08 20:53 ` Qu Wenruo
-- strict thread matches above, loose matches on Subject: below --
2025-12-08 21:25 Qu Wenruo
2025-12-12 3:18 ` David Sterba
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=20251208191903.GA4859@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=linux-btrfs@vger.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