]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: don't use set/get token for single assignment in overwrite_item
authorDavid Sterba <dsterba@suse.com>
Wed, 29 Apr 2020 13:29:53 +0000 (15:29 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 May 2020 09:25:32 +0000 (11:25 +0200)
commitf5f2e57a3a11e08238f75f19ef9975e241b0dedb
tree585735a45f95d176ee1b537e4ba3f9900a2f4ba8
parent4404681f7b3543de0ce08e2f69ad07362ce48182
btrfs: don't use set/get token for single assignment in overwrite_item

The set/get token is supposed to cache the last page that was accessed
so it speeds up subsequential access to the eb. It does not make sense
to use that for just one change, which is the case of inode size in
overwrite_item.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tree-log.c