commit | a31356b9e263b723d4991383efc87b71c6e87991 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Wed Apr 29 22:56:01 2020 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon May 25 11:25:32 2020 +0200 |
tree | 33cce1856538bd228f94be8e8eebcf4afeb3bd4b | |
parent | 60d48e2e4575dd848a43ceeda6cbc38a87427330 [diff] |
btrfs: don't use set/get token in leaf_space_used The token is supposed to cache the last page used by the set/get helpers. In leaf_space_used the first and last items are accessed, it's not likely they'd be on the same page so there's some overhead caused updating the token address but not using it. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: David Sterba <dsterba@suse.com>