Searched refs:bg_reclaim_threshold (Results 1 – 8 of 8) sorted by relevance
/fs/btrfs/ |
D | sysfs.c | 893 return sysfs_emit(buf, "%d\n", READ_ONCE(space_info->bg_reclaim_threshold)); in btrfs_sinfo_bg_reclaim_threshold_show() 911 WRITE_ONCE(space_info->bg_reclaim_threshold, thresh); in btrfs_sinfo_bg_reclaim_threshold_store() 916 BTRFS_ATTR_RW(space_info, bg_reclaim_threshold, 936 BTRFS_ATTR_PTR(space_info, bg_reclaim_threshold), 1257 return sysfs_emit(buf, "%d\n", READ_ONCE(fs_info->bg_reclaim_threshold)); in btrfs_bg_reclaim_threshold_show() 1280 WRITE_ONCE(fs_info->bg_reclaim_threshold, thresh); in btrfs_bg_reclaim_threshold_store() 1284 BTRFS_ATTR_RW(, bg_reclaim_threshold, btrfs_bg_reclaim_threshold_show, 1303 BTRFS_ATTR_PTR(, bg_reclaim_threshold),
|
D | space-info.h | 113 int bg_reclaim_threshold; member
|
D | fs.h | 719 int bg_reclaim_threshold; member
|
D | free-space-cache.c | 2698 int bg_reclaim_threshold = 0; in __btrfs_add_free_space_zoned() local 2707 bg_reclaim_threshold = READ_ONCE(sinfo->bg_reclaim_threshold); in __btrfs_add_free_space_zoned() 2741 } else if (bg_reclaim_threshold && in __btrfs_add_free_space_zoned() 2743 mult_perc(block_group->zone_capacity, bg_reclaim_threshold)) { in __btrfs_add_free_space_zoned()
|
D | zoned.c | 2353 if (fs_info->bg_reclaim_threshold == 0) in btrfs_zoned_should_reclaim() 2367 return factor >= fs_info->bg_reclaim_threshold; in btrfs_zoned_should_reclaim()
|
D | space-info.c | 249 space_info->bg_reclaim_threshold = BTRFS_DEFAULT_ZONED_RECLAIM_THRESH; in create_space_info()
|
D | block-group.c | 1765 const int reclaim_thresh = READ_ONCE(space_info->bg_reclaim_threshold); in should_reclaim_block_group()
|
D | disk-io.c | 2794 fs_info->bg_reclaim_threshold = BTRFS_DEFAULT_RECLAIM_THRESH; in btrfs_init_fs_info()
|