Re: [PATCH] btrfs: remove EXTENT_BUFFER_IN_TREE flag
From: David Sterba
Date: Tue Mar 18 2025 - 12:06:05 EST
On Tue, Mar 18, 2025 at 05:00:17PM +0100, David Sterba wrote:
> On Tue, Mar 18, 2025 at 10:54:38AM +0100, Daniel Vacek wrote:
> > This flag is set after inserting the eb to the buffer tree and cleared on
> > it's removal. But it does not bring any added value. Just kill it for good.
>
> I na similar way the flag EXTENT_BUFFER_READ_ERR is unused (was removed
> in eb/io rework in 046b562b20a5cf ("btrfs: use a separate end_io handler
> for read_extent_buffer").
And EXTENT_BUFFER_READAHEAD, removed by f26c9238602856 ("btrfs: remove
reada infrastructure").