commit | 4692cf58aa7b81f721c1653d48db99ea41421d58 | [log] [tgz] |
---|---|---|
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | Fri Dec 02 14:56:41 2011 +0100 |
committer | Jan Schmidt <list.btrfs@jan-o-sch.net> | Thu Jan 05 10:49:43 2012 +0100 |
tree | 0a5bf889142252d91bcc8df33a9c63c18024fe70 | |
parent | 8da6d5815c592b713ecaf4f4f8b631f8359c96c4 [diff] |
Btrfs: new backref walking code The old backref iteration code could only safely be used on commit roots. Besides this limitation, it had bugs in finding the roots for these references. This commit replaces large parts of it by btrfs_find_all_roots() which a) really finds all roots and the correct roots, b) works correctly under heavy file system load, c) considers delayed refs. Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>