Lines Matching refs:test_msg
71 test_msg("Running extent only tests\n"); in test_extents()
76 test_msg("Error adding initial extents %d\n", ret); in test_extents()
82 test_msg("Error removing extent %d\n", ret); in test_extents()
87 test_msg("Full remove left some lingering space\n"); in test_extents()
94 test_msg("Error adding half extent %d\n", ret); in test_extents()
100 test_msg("Error removing tail end %d\n", ret); in test_extents()
106 test_msg("Error removing front end %d\n", ret); in test_extents()
112 test_msg("Error removing middle piece %d\n", ret); in test_extents()
117 test_msg("Still have space at the front\n"); in test_extents()
122 test_msg("Still have space in the middle\n"); in test_extents()
127 test_msg("Still have space at the end\n"); in test_extents()
142 test_msg("Running bitmap only tests\n"); in test_bitmaps()
146 test_msg("Couldn't create a bitmap entry %d\n", ret); in test_bitmaps()
152 test_msg("Error removing bitmap full range %d\n", ret); in test_bitmaps()
157 test_msg("Left some space in bitmap\n"); in test_bitmaps()
163 test_msg("Couldn't add to our bitmap entry %d\n", ret); in test_bitmaps()
169 test_msg("Couldn't remove middle chunk %d\n", ret); in test_bitmaps()
183 test_msg("Couldn't add space that straddles two bitmaps %d\n", in test_bitmaps()
191 test_msg("Couldn't remove overlapping space %d\n", ret); in test_bitmaps()
197 test_msg("Left some space when removing overlapping\n"); in test_bitmaps()
212 test_msg("Running bitmap and extent tests\n"); in test_bitmaps_and_extents()
221 test_msg("Couldn't create bitmap entry %d\n", ret); in test_bitmaps_and_extents()
227 test_msg("Couldn't add extent entry %d\n", ret); in test_bitmaps_and_extents()
233 test_msg("Couldn't remove extent entry %d\n", ret); in test_bitmaps_and_extents()
238 test_msg("Left remnants after our remove\n"); in test_bitmaps_and_extents()
245 test_msg("Couldn't re-add extent entry %d\n", ret); in test_bitmaps_and_extents()
251 test_msg("Couldn't remove from bitmap %d\n", ret); in test_bitmaps_and_extents()
256 test_msg("Left remnants in the bitmap\n"); in test_bitmaps_and_extents()
266 test_msg("Couldn't add to a bitmap %d\n", ret); in test_bitmaps_and_extents()
272 test_msg("Couldn't remove overlapping space %d\n", ret); in test_bitmaps_and_extents()
277 test_msg("Left over pieces after removing overlapping\n"); in test_bitmaps_and_extents()
286 test_msg("Couldn't add space to the bitmap %d\n", ret); in test_bitmaps_and_extents()
292 test_msg("Couldn't add extent to the cache %d\n", ret); in test_bitmaps_and_extents()
298 test_msg("Problem removing overlapping space %d\n", ret); in test_bitmaps_and_extents()
303 test_msg("Left something behind when removing space"); in test_bitmaps_and_extents()
321 test_msg("Couldn't add bitmap %d\n", ret); in test_bitmaps_and_extents()
328 test_msg("Couldn't add extent entry %d\n", ret); in test_bitmaps_and_extents()
335 test_msg("Failed to free our space %d\n", ret); in test_bitmaps_and_extents()
341 test_msg("Left stuff over\n"); in test_bitmaps_and_extents()
355 test_msg("Couldn't add bitmap entry %d\n", ret); in test_bitmaps_and_extents()
361 test_msg("Couldn't add extent entry %d\n", ret); in test_bitmaps_and_extents()
367 test_msg("Error removing bitmap and extent overlapping %d\n", ret); in test_bitmaps_and_extents()
389 test_msg("Incorrect # of extent entries in the cache: %d, expected %d\n", in check_num_extents_and_bitmaps()
394 test_msg("Incorrect # of extent entries in the cache: %d, expected %d\n", in check_num_extents_and_bitmaps()
412 test_msg("Cache free space is not 0\n"); in check_cache_empty()
420 test_msg("Space allocation did not fail, returned offset: %llu", in check_cache_empty()
452 test_msg("Running space stealing from bitmap to extent\n"); in test_steal_space_from_bitmap_to_extent()
481 test_msg("Couldn't add extent entry %d\n", ret); in test_steal_space_from_bitmap_to_extent()
489 test_msg("Couldn't add bitmap entry %d\n", ret); in test_steal_space_from_bitmap_to_extent()
508 test_msg("Failed to free part of bitmap space %d\n", ret); in test_steal_space_from_bitmap_to_extent()
515 test_msg("Free space range missing\n"); in test_steal_space_from_bitmap_to_extent()
520 test_msg("Free space range missing\n"); in test_steal_space_from_bitmap_to_extent()
530 test_msg("Bitmap region not removed from space cache\n"); in test_steal_space_from_bitmap_to_extent()
540 test_msg("Invalid bitmap region marked as free\n"); in test_steal_space_from_bitmap_to_extent()
550 test_msg("Invalid bitmap region marked as free\n"); in test_steal_space_from_bitmap_to_extent()
561 test_msg("Error adding free space: %d\n", ret); in test_steal_space_from_bitmap_to_extent()
566 test_msg("Bitmap region not marked as free\n"); in test_steal_space_from_bitmap_to_extent()
587 test_msg("Error adding free space: %d\n", ret); in test_steal_space_from_bitmap_to_extent()
607 test_msg("Error adding free space: %d\n", ret); in test_steal_space_from_bitmap_to_extent()
613 test_msg("Extent region not marked as free\n"); in test_steal_space_from_bitmap_to_extent()
642 test_msg("Expected region not marked as free\n"); in test_steal_space_from_bitmap_to_extent()
647 test_msg("Cache free space is not 1Mb + 4Kb\n"); in test_steal_space_from_bitmap_to_extent()
655 test_msg("Failed to allocate 1Mb from space cache, returned offset is: %llu\n", in test_steal_space_from_bitmap_to_extent()
666 test_msg("Cache free space is not 4Kb\n"); in test_steal_space_from_bitmap_to_extent()
674 test_msg("Failed to allocate 4Kb from space cache, returned offset is: %llu\n", in test_steal_space_from_bitmap_to_extent()
697 test_msg("Couldn't add extent entry %d\n", ret); in test_steal_space_from_bitmap_to_extent()
705 test_msg("Couldn't add bitmap entry %d\n", ret); in test_steal_space_from_bitmap_to_extent()
724 test_msg("Failed to free part of bitmap space %d\n", ret); in test_steal_space_from_bitmap_to_extent()
731 test_msg("Free space range missing\n"); in test_steal_space_from_bitmap_to_extent()
736 test_msg("Free space range missing\n"); in test_steal_space_from_bitmap_to_extent()
746 test_msg("Bitmap region not removed from space cache\n"); in test_steal_space_from_bitmap_to_extent()
756 test_msg("Invalid bitmap region marked as free\n"); in test_steal_space_from_bitmap_to_extent()
768 test_msg("Error adding free space: %d\n", ret); in test_steal_space_from_bitmap_to_extent()
774 test_msg("Bitmap region not marked as free\n"); in test_steal_space_from_bitmap_to_extent()
794 test_msg("Error adding free space: %d\n", ret); in test_steal_space_from_bitmap_to_extent()
805 test_msg("Error adding free space: %d\n", ret); in test_steal_space_from_bitmap_to_extent()
810 test_msg("Extent region not marked as free\n"); in test_steal_space_from_bitmap_to_extent()
839 test_msg("Expected region not marked as free\n"); in test_steal_space_from_bitmap_to_extent()
844 test_msg("Cache free space is not 1Mb + 8Kb\n"); in test_steal_space_from_bitmap_to_extent()
852 test_msg("Failed to allocate 1Mb from space cache, returned offset is: %llu\n", in test_steal_space_from_bitmap_to_extent()
863 test_msg("Cache free space is not 8Kb\n"); in test_steal_space_from_bitmap_to_extent()
871 test_msg("Failed to allocate 8Kb from space cache, returned offset is: %llu\n", in test_steal_space_from_bitmap_to_extent()
892 test_msg("Running btrfs free space cache tests\n"); in btrfs_test_free_space_cache()
896 test_msg("Couldn't run the tests\n"); in btrfs_test_free_space_cache()
929 test_msg("Free space cache tests finished\n"); in btrfs_test_free_space_cache()