Btrfs: skip locking when searching commit root
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Thu, 13 Feb 2014 03:19:47 +0000 (11:19 +0800)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:16:55 +0000 (15:16 -0400)
commite84752d434b5cca0869e906e7b94d0531b25c6d3
treeead4db0b6f80fef7abfde5396dbd1f7967cc2b9a
parent32a447896c7b4c5cf5502a3ca7f5ef57d498fb03
Btrfs: skip locking when searching commit root

We won't change commit root, skip locking dance with commit root
when walking backrefs, this can speed up btrfs send operations.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/backref.c