btrfs: set DIRTY and WRITEBACK tags on the buffer_tree
authorJosef Bacik <josef@toxicpanda.com>
Mon, 28 Apr 2025 14:52:56 +0000 (10:52 -0400)
committerDavid Sterba <dsterba@suse.com>
Thu, 15 May 2025 12:30:50 +0000 (14:30 +0200)
commit4bc0a3cb75c264e945e08dcc590e3c722a3ee58f
treee4f09495f71c43c6445e6e0acf908468801f3718
parent19d7f65f032f898df8c164d378be502901772eb7
btrfs: set DIRTY and WRITEBACK tags on the buffer_tree

In preparation for changing how we do writeout of extent buffers, start
tagging the extent buffer xarray with DIRTY and WRITEBACK to make it
easier to find extent buffers that are in either state.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c