]> 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)
commit43af95b4f354881356c4d62c23d78614e95738b8
tree585735a45f95d176ee1b537e4ba3f9900a2f4ba8
parent6f585eee21b532fd788a1311ba258436bcb44ef2
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