Searched hist:bbf27275f246a105a1e906f22a4f814f89bf4b55 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/btrfs/tests/ |
H A D | free-space-tests.c | diff bbf27275f246a105a1e906f22a4f814f89bf4b55 Thu Nov 18 15:33:16 CST 2021 Josef Bacik <josef@toxicpanda.com> btrfs: add self test for bytes_index free space cache
I noticed a few corner cases when looking at my bytes_index patch for obvious bugs, so add a bunch of tests to validate proper behavior of the bytes_index tree. A couple of basic tests to make sure it puts things in the correct order, and then more complicated tests to make sure it re-arranges bitmap entries properly and does the right thing when we try to make allocations.
Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: David Sterba <dsterba@suse.com>
|