summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/struct-funcs.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2020-04-29 22:56:01 +0200
committerDavid Sterba <dsterba@suse.com>2020-05-25 11:25:32 +0200
commita31356b9e263b723d4991383efc87b71c6e87991 (patch)
tree33cce1856538bd228f94be8e8eebcf4afeb3bd4b /fs/btrfs/struct-funcs.c
parentbtrfs: don't use set/get token for single assignment in overwrite_item (diff)
downloadlinux-a31356b9e263b723d4991383efc87b71c6e87991.tar.xz
linux-a31356b9e263b723d4991383efc87b71c6e87991.zip
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>
Diffstat (limited to 'fs/btrfs/struct-funcs.c')
0 files changed, 0 insertions, 0 deletions