btrfs: qgroup: Switch to new extent-oriented qgroup mechanism.
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Thu, 16 Apr 2015 08:55:08 +0000 (16:55 +0800)
committerChris Mason <clm@fb.com>
Wed, 10 Jun 2015 16:25:59 +0000 (09:25 -0700)
commit0ed4792af0e8346cb670b4bc540df7594f4b2020
treeb00c9218655cf51dffd78f141abda64c7ea8a696
parent9d220c95f5191f6e99fbb992d5f36a929d3fc432
btrfs: qgroup: Switch to new extent-oriented qgroup mechanism.

Switch from old ref_node based qgroup to extent based qgroup mechanism
for normal operations.

The new mechanism should hugely reduce the overhead of btrfs quota
system, and further more, the codes and logic should be more clean and
easier to maintain.

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