]> www.infradead.org Git - users/jedix/linux-maple.git/commit
btrfs: remove clone_backref_node() from relocation
authorJosef Bacik <josef@toxicpanda.com>
Thu, 3 Oct 2024 15:43:07 +0000 (11:43 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Jan 2025 13:53:15 +0000 (14:53 +0100)
commit0097422c0dfe0a943cf879777cabf299bb6258f7
tree42eaf6ddf6c5f69dc3844a04a5b1eb941a2a46ff
parent551d04a32a9e0b498c44e545ec27ed4553c59305
btrfs: remove clone_backref_node() from relocation

Since we no longer maintain backref cache across transactions, and this
is only called when we're creating the reloc root for a newly created
snapshot in the transaction critical section, we will end up doing a
bunch of work that will just get thrown away when we start the
transaction in the relocation loop.  Delete this code as it no longer
does anything for us.

Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/relocation.c