btrfs: pass the root owner and level around for readahead
authorJosef Bacik <josef@toxicpanda.com>
Thu, 5 Nov 2020 15:45:19 +0000 (10:45 -0500)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:54:07 +0000 (15:54 +0100)
commit5d81230baa9096bd5a7ad40822505b89ca7f9dfe
tree385828b3441ffb6703f5eab4bba904717e62930c
parent1b7ec85ef49057898a48b2ca1a1e33bf7c27abbe
btrfs: pass the root owner and level around for readahead

The readahead infrastructure does raw reads of extent buffers, but we're
going to need to know their owner and level in order to set the lockdep
key properly, so plumb in the infrastructure that we'll need to have
this information when we start allocating extent buffers.

Reviewed-by: Filipe Manana <fdmanana@suse.com>
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/reada.c