commit | 9d220c95f5191f6e99fbb992d5f36a929d3fc432 | [log] [tgz] |
---|---|---|
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | Mon Apr 13 11:02:16 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Jun 10 09:25:54 2015 -0700 |
tree | 5e95f0958a90f38f6c7f50bdd78e6baa59a9dd20 | |
parent | 550d7a2ed5db35756222ec17cff3376ff38d78e2 [diff] |
btrfs: qgroup: Switch rescan to new mechanism. Switch rescan to use the new new extent oriented mechanism. As rescan is also based on extent, new mechanism is just a perfect match for rescan. With re-designed internal functions, rescan is quite easy, just call btrfs_find_all_roots() and then btrfs_qgroup_account_one_extent(). Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>