]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: add sanity tests for new qgroup accounting code
authorJosef Bacik <jbacik@fb.com>
Wed, 7 May 2014 21:06:09 +0000 (17:06 -0400)
committerChris Mason <clm@fb.com>
Tue, 10 Jun 2014 00:20:49 +0000 (17:20 -0700)
commit4a39d3b864b98121e63478e39f557caf36b3e31f
treeb700876fe08b8830d4e8686c039f4241cc9cb5e2
parentdd07ade89fa9f7ccbca2a8c5bba8a7db2b540c16
Btrfs: add sanity tests for new qgroup accounting code

This exercises the various parts of the new qgroup accounting code.  We do some
basic stuff and do some things with the shared refs to make sure all that code
works.  I had to add a bunch of infrastructure because I needed to be able to
insert items into a fake tree without having to do all the hard work myself,
hopefully this will be usefull in the future.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
16 files changed:
fs/btrfs/Makefile
fs/btrfs/backref.c
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/extent-tree.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/qgroup.c
fs/btrfs/super.c
fs/btrfs/tests/btrfs-tests.c
fs/btrfs/tests/btrfs-tests.h
fs/btrfs/tests/inode-tests.c
fs/btrfs/tests/qgroup-tests.c [new file with mode: 0644]
fs/btrfs/transaction.h