]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: more efficient inode tree replace operation
authorFilipe David Borba Manana <fdmanana@gmail.com>
Mon, 2 Sep 2013 11:19:13 +0000 (12:19 +0100)
committerChris Mason <chris.mason@fusionio.com>
Sat, 21 Sep 2013 14:58:55 +0000 (10:58 -0400)
commitdcd1b352e8211f6c251067a3ab0f817f39f806b9
treed6df5311a9d0bff68309cfc05cc742e86cc720c7
parentdc2eb3f84cb3f113217396dbc9809913b131cece
Btrfs: more efficient inode tree replace operation

Instead of removing the current inode from the red black tree
and then add the new one, just use the red black tree replace
operation, which is more efficient.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Zach Brown <zab@redhat.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/inode.c