search for: last_byte_to_unpin

Displaying 1 result from an estimated 1 matches for "last_byte_to_unpin".

2010 May 11
0
[PATCH 4/5] btrfs: don't cache empty block groups during mount
...find any space, or we are empty, and we can just add all - * the space in and be done with it. This saves us _alot_ of - * time, particularly in the full case. - */ - if (found_key.offset == btrfs_block_group_used(&cache->item)) { - exclude_super_stripes(root, cache); - cache->last_byte_to_unpin = (u64)-1; - cache->cached = BTRFS_CACHE_FINISHED; - free_excluded_extents(root, cache); - } else if (btrfs_block_group_used(&cache->item) == 0) { - exclude_super_stripes(root, cache); + exclude_super_stripes(root, cache); + /* check for the case that block group is full */ + if...