Home
last modified time | relevance | path

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

/fs/btrfs/
Dsysfs.c893 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),
Dspace-info.h113 int bg_reclaim_threshold; member
Dfs.h719 int bg_reclaim_threshold; member
Dfree-space-cache.c2698 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()
Dzoned.c2353 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()
Dspace-info.c249 space_info->bg_reclaim_threshold = BTRFS_DEFAULT_ZONED_RECLAIM_THRESH; in create_space_info()
Dblock-group.c1765 const int reclaim_thresh = READ_ONCE(space_info->bg_reclaim_threshold); in should_reclaim_block_group()
Ddisk-io.c2794 fs_info->bg_reclaim_threshold = BTRFS_DEFAULT_RECLAIM_THRESH; in btrfs_init_fs_info()