]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2fc5738c0a942d85fa772eac017012cf85ba8e1b
tree385828b3441ffb6703f5eab4bba904717e62930c
parent75c39ddb8a76e29b55711f319bb76eb6b7145d52
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