Re: [PATCH 3/3] btrfs-progs: add quota group verify code

2014-05-16 Thread David Sterba
On Wed, May 07, 2014 at 01:07:17PM -0700, Mark Fasheh wrote: > +struct ref { > + u64 bytenr; > + u64 num_bytes; > + u64 parent; > + u64 root; > + > + struct rb_node bytenr_node; > +}; A way

[PATCH 3/3] btrfs-progs: add quota group verify code

2014-05-07 Thread Mark Fasheh
This patch adds functionality (in qgroup-verify.c) to compute bytecounts in subvolume quota groups. The original groups are read in and stored in memory so that after we compute our own bytecounts, we can compare them with those on disk. A print function is provided to do this comparison and show t