Home
last modified time | relevance | path

Searched refs:delalloc_bytes (Results 1 – 8 of 8) sorted by relevance

/fs/btrfs/
Dspace-info.c491 u64 delalloc_bytes; in shrink_delalloc() local
497 delalloc_bytes = percpu_counter_sum_positive(&fs_info->delalloc_bytes); in shrink_delalloc()
499 if (delalloc_bytes == 0 && ordered_bytes == 0) in shrink_delalloc()
518 to_reclaim = max(to_reclaim, delalloc_bytes >> 3); in shrink_delalloc()
529 if (ordered_bytes > delalloc_bytes && !for_preempt) in shrink_delalloc()
533 while ((delalloc_bytes || ordered_bytes) && loops < 3) { in shrink_delalloc()
534 u64 temp = min(delalloc_bytes, to_reclaim) >> PAGE_SHIFT; in shrink_delalloc()
604 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()
605 &fs_info->delalloc_bytes); in shrink_delalloc()
829 delalloc = percpu_counter_read_positive(&fs_info->delalloc_bytes); in need_preemptive_reclaim()
[all …]
Dbtrfs_inode.h151 u64 delalloc_bytes; member
Dblock-group.h67 u64 delalloc_bytes; member
Dinode.c2205 percpu_counter_add_batch(&fs_info->delalloc_bytes, len, in btrfs_set_delalloc_extent()
2208 BTRFS_I(inode)->delalloc_bytes += len; in btrfs_set_delalloc_extent()
2275 percpu_counter_add_batch(&fs_info->delalloc_bytes, -len, in btrfs_clear_delalloc_extent()
2278 inode->delalloc_bytes -= len; in btrfs_clear_delalloc_extent()
2279 if (do_list && inode->delalloc_bytes == 0 && in btrfs_clear_delalloc_extent()
2996 cache->delalloc_bytes -= len; in btrfs_release_delalloc_bytes()
9257 ei->delalloc_bytes = 0; in btrfs_alloc_inode()
9328 WARN_ON(inode->delalloc_bytes); in btrfs_destroy_inode()
9439 u64 delalloc_bytes; in btrfs_getattr() local
9469 delalloc_bytes = BTRFS_I(inode)->new_delalloc_bytes; in btrfs_getattr()
[all …]
Ddisk-io.c1563 percpu_counter_destroy(&fs_info->delalloc_bytes); in btrfs_free_fs_info()
2989 ret = percpu_counter_init(&fs_info->delalloc_bytes, 0, GFP_KERNEL); in init_mount_fs_info()
4473 if (percpu_counter_sum(&fs_info->delalloc_bytes)) { in close_ctree()
4475 percpu_counter_sum(&fs_info->delalloc_bytes)); in close_ctree()
Dblock-group.c3339 cache->delalloc_bytes += num_bytes; in btrfs_add_reserved_bytes()
3378 cache->delalloc_bytes -= num_bytes; in btrfs_free_reserved_bytes()
Dctree.h850 struct percpu_counter delalloc_bytes; member
Dfree-space-cache.c1350 if (block_group->delalloc_bytes) { in __btrfs_write_out_cache()