block-group.c (260db43cd2f556677f6ae818ba09f997eed81004) | block-group.c (3308234a7e9828f8cbec308010348ddf712fc15e) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2 3#include "misc.h" 4#include "ctree.h" 5#include "block-group.h" 6#include "space-info.h" 7#include "disk-io.h" 8#include "free-space-cache.h" --- 2980 unchanged lines hidden (view full) --- 2989 space_info->bytes_readonly += num_bytes; 2990 cache->reserved -= num_bytes; 2991 space_info->bytes_reserved -= num_bytes; 2992 space_info->max_extent_size = 0; 2993 2994 if (delalloc) 2995 cache->delalloc_bytes -= num_bytes; 2996 spin_unlock(&cache->lock); | 1// SPDX-License-Identifier: GPL-2.0 2 3#include "misc.h" 4#include "ctree.h" 5#include "block-group.h" 6#include "space-info.h" 7#include "disk-io.h" 8#include "free-space-cache.h" --- 2980 unchanged lines hidden (view full) --- 2989 space_info->bytes_readonly += num_bytes; 2990 cache->reserved -= num_bytes; 2991 space_info->bytes_reserved -= num_bytes; 2992 space_info->max_extent_size = 0; 2993 2994 if (delalloc) 2995 cache->delalloc_bytes -= num_bytes; 2996 spin_unlock(&cache->lock); |
2997 2998 btrfs_try_granting_tickets(cache->fs_info, space_info); |
|
2997 spin_unlock(&space_info->lock); 2998} 2999 3000static void force_metadata_allocation(struct btrfs_fs_info *info) 3001{ 3002 struct list_head *head = &info->space_info; 3003 struct btrfs_space_info *found; 3004 --- 404 unchanged lines hidden --- | 2999 spin_unlock(&space_info->lock); 3000} 3001 3002static void force_metadata_allocation(struct btrfs_fs_info *info) 3003{ 3004 struct list_head *head = &info->space_info; 3005 struct btrfs_space_info *found; 3006 --- 404 unchanged lines hidden --- |