diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2016-10-18 09:31:26 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-11-30 13:45:21 +0100 |
commit | 1d2beaa95b307db5aacd527065d16ed48854d04e (patch) | |
tree | d21c179b78363876b4221c9d48e74b4e564d3c2c /fs/btrfs/delayed-ref.c | |
parent | 1621f8f3f9cdfab43822aa54a84c2a0a5111b936 (diff) | |
download | op-kernel-dev-1d2beaa95b307db5aacd527065d16ed48854d04e.zip op-kernel-dev-1d2beaa95b307db5aacd527065d16ed48854d04e.tar.gz |
btrfs: qgroup: Add comments explaining how btrfs qgroup works
Add explaination how btrfs qgroups work.
Qgroup is split into 3 main phrases:
1) Reserve
To ensure qgroup doesn't exceed its limit
2) Trace
To info qgroup to trace which extent
3) Account
Calculate qgroup number change for each traced extent.
This should save quite some time for new developers.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delayed-ref.c')
0 files changed, 0 insertions, 0 deletions