Re: [PATCH] Btrfs: more efficient inode tree replace operation

2013-09-03 Thread Zach Brown
On Mon, Sep 02, 2013 at 12:19:13PM +0100, Filipe David Borba Manana wrote: 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. Yup, this looks correct to me. Reviewed-by: Zach Brown

[PATCH] Btrfs: more efficient inode tree replace operation

2013-09-02 Thread Filipe David Borba Manana
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 fdman...@gmail.com --- fs/btrfs/inode.c | 10 +- 1 file changed, 5 insertions(+), 5