Lines Matching defs:cache
18 #include "free-space-cache.h"
173 /* We inline CRCs for the free disk space cache */
329 * now that we've truncated the cache away, its no longer
345 * We skip the throttling logic for free space cache inodes, so we don't
477 "free space cache page truncated");
483 "error reading free space cache");
525 "space cache generation (%llu) does not match inode (%llu)",
569 "csum mismatch on free space cache");
750 /* Nothing in the space cache, goodbye */
778 "the free space cache file (%llu) is invalid, skip it",
785 "free space inode generation (%llu) did not match free space cache generation (%llu)",
837 "Duplicate entries in free space cache, dumping");
857 "Duplicate entries in free space cache, dumping");
874 * the bitmap entries are added to the cache.
958 * another then we can't trust the on disk cache, so just return.
979 * block group without its free space cache loaded. When we find one
980 * we must load its space cache which requires reading its free space
981 * cache's inode item from the root tree. If this inode item is located
998 /* We may have converted the inode and made the cache invalid. */
1029 * ret == 1 means we successfully loaded the free space cache,
1049 /* This cache is bogus, make sure it gets cleared */
1056 "failed to load free space cache for block group %llu, rebuilding it now",
1127 * an inconsistent free space cache report from fsck.
1211 * We want to add any pinned extents to our free space cache
1307 /* Flush the dirty pages in the cache file. */
1312 /* Update the cache item to tell everyone this cache file is valid. */
1321 "failed to write free space cache for block group %llu error %d",
1336 * cache state won't be right, and we won't get written again
1367 * @ctl: free space cache we are going to write out
1368 * @block_group: block_group for this cache if it belongs to a block_group
1372 * This function writes out a free space cache struct to disk for quick recovery
1373 * on mount. This will return 0 if it was successful in writing the cache out,
1423 /* Write out the extent entries in the free space cache */
1433 * they will be added into free space cache after the transaction is
1479 * the cache and the inode
1539 "failed to write free space cache for block group %llu error %d",
2132 * if we are blowing up the free space cache for one reason or another
2279 * use up all of our free slots in the cache with them, we want
2281 * of cache left then go ahead an dadd them, no sense in adding
2590 * because we attempt to satisfy them based on a single cache entry, and never
2968 * space cache. If the block group passed doesn't match the block group
3141 * cache. If a block group is passed, this function will only free
3390 * until this bitmap entry is added back into the normal cache.
3474 * cache and put them into the cluster rbtree
4105 btrfs_info(fs_info, "cleaning free space cache v1");
4128 * transaction commit whether we are enabling space cache v1 and don't
4182 * how the free space cache loading stuff works, so you can get really weird
4185 int test_add_free_space_entry(struct btrfs_block_group *cache,
4188 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl;
4251 * Checks to see if the given range is in the free space cache. This is really
4255 int test_check_exists(struct btrfs_block_group *cache,
4258 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl;