btrfs: backref: Add special time_seq == (u64)-1 case for
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Thu, 16 Apr 2015 06:54:50 +0000 (14:54 +0800)
committerChris Mason <clm@fb.com>
Wed, 10 Jun 2015 16:25:45 +0000 (09:25 -0700)
commit21633fc6037f8ceb2bb927dacc3f9ef46ccae891
treed031ae663b36cba46e061d03c8161e2418442b74
parent3b7d00f99c60b31e1cff0efc6b9178eea3696e27
btrfs: backref: Add special time_seq == (u64)-1 case for
btrfs_find_all_roots().

Allow btrfs_find_all_roots() to skip all delayed_ref_head lock and tree
lock to do tree search.

This is important for later qgroup implement which will call
find_all_roots() after fs trees are committed.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/backref.c