commit | 9086db86e0b09c39abead4d747119695553e3978 | [log] [tgz] |
---|---|---|
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | Mon Apr 20 09:53:50 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Jun 10 09:26:23 2015 -0700 |
tree | 26cba099d0d7c8209e036024f70b32d3bd2615e0 | |
parent | d4b804045924d7f8d2ea988be22c4b9e6492ec11 [diff] |
btrfs: qgroup: Add the ability to skip given qgroup for old/new_roots. This is used by later qgroup fix patches for snapshot. As current snapshot accounting is done by btrfs_qgroup_inherit(), but new extent oriented quota mechanism will account extent from btrfs_copy_root() and other snapshot things, causing wrong result. So add this ability to handle snapshot accounting. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>