]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9a0d474f7c4c351c1de932685b294ebb45da36f
treed031ae663b36cba46e061d03c8161e2418442b74
parent08eb7fe2d613366d568ecc159ef63fbe1120a826
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