btrfs: qgroup: Record possible quota-related extent for qgroup.
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Thu, 16 Apr 2015 06:34:17 +0000 (14:34 +0800)
committerChris Mason <clm@fb.com>
Wed, 10 Jun 2015 16:25:32 +0000 (09:25 -0700)
commit3368d001ba5df44930d986e82b1b497d4da285ba
tree62797b833909d45d2e8b6244c4007d6661154f67
parent823ae5b8e340003dacbe7cd08a355efe018c9f1b
btrfs: qgroup: Record possible quota-related extent for qgroup.

Add hook in add_delayed_ref_head() to record quota-related extent record
into delayed_ref_root->dirty_extent_record rb-tree for later qgroup
accounting.

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