]> 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)
commit843394be7ca2cadfe25a3f9b4a9c49927d17110b
treed6df5311a9d0bff68309cfc05cc742e86cc720c7
parent164a1b6ab4a09efe78d9d13cdc6dae0be1a49c92
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