• Josef Bacik's avatar
    Btrfs: add sanity tests for new qgroup accounting code · faa2dbf0
    Josef Bacik authored
    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: default avatarJosef Bacik <jbacik@fb.com>
    Signed-off-by: default avatarChris Mason <clm@fb.com>
    faa2dbf0
btrfs-tests.h 1.69 KB