[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251124180904.GR13846@twin.jikos.cz>
Date: Mon, 24 Nov 2025 19:09:04 +0100
From: David Sterba <dsterba@...e.cz>
To: David Sterba <dsterba@...e.cz>
Cc: Daniel Vacek <neelx@...e.com>, Chris Mason <clm@...com>,
Josef Bacik <josef@...icpanda.com>, David Sterba <dsterba@...e.com>,
Qu Wenruo <wqu@...e.com>, linux-btrfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] btrfs: simplify async csum synchronization
On Tue, Nov 18, 2025 at 01:07:16PM +0100, David Sterba wrote:
> On Thu, Nov 13, 2025 at 11:17:30AM +0100, Daniel Vacek wrote:
> > We don't need the redundant completion csum_done which marks the
> > csum work has been executed. We can simply flush_work() instead.
> >
> > This way we can slim down the btrfs_bio structure by 32 bytes matching
> > it's size to what it used to be before introducing the async csums.
> > Hence not making any change with respect to the structure size.
> > ---
> > This is a simple fixup for "btrfs: introduce btrfs_bio::async_csum" in
> > for-next and can be squashed into it.
> >
> > v2: metadata is not checksummed here so use the endio_workers workqueue
> > unconditionally. Thanks to Qu Wenruo.
>
> This looks quite useful regarding the size reduction of btrfs_bio,
> please fold it to the patch. Thanks.
The 6.19 branch is now frozen so this patch will be applied separately
later.
Powered by blists - more mailing lists