summaryrefslogtreecommitdiff
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2019-08-22 22:14:34 +0300
committerDavid Sterba <dsterba@suse.com>2019-09-09 15:59:13 +0300
commitbcacf5f3f92b886431b3a739038cc74b5e7e9403 (patch)
tree481e67d8463ee70ccc7fe329918decd279bde6f8 /drivers/macintosh
parent2bd36e7b4fd60d4ff5f9ba6a0ad84557ae4803c4 (diff)
downloadlinux-bcacf5f3f92b886431b3a739038cc74b5e7e9403.tar.xz
btrfs: only reserve metadata_size for inodes
Historically we reserved worst case for every btree operation, and generally speaking we want to do that in cases where it could be the worst case. However for updating inodes we know the inode items are already in the tree, so it will only be an update operation and never an insert operation. This allows us to always reserve only the metadata_size amount for inode updates rather than the insert_metadata_size amount. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions