Home
last modified time | relevance | path

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

/linux-6.6.21/fs/btrfs/
Dspace-info.h113 int bg_reclaim_threshold; member
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),
Dfs.h719 int bg_reclaim_threshold; member
Dfree-space-cache.c2697 int bg_reclaim_threshold = 0; in __btrfs_add_free_space_zoned() local
2704 bg_reclaim_threshold = READ_ONCE(sinfo->bg_reclaim_threshold); in __btrfs_add_free_space_zoned()
2738 } else if (bg_reclaim_threshold && in __btrfs_add_free_space_zoned()
2740 mult_perc(block_group->zone_capacity, bg_reclaim_threshold)) { in __btrfs_add_free_space_zoned()
Dzoned.c2343 if (fs_info->bg_reclaim_threshold == 0) in btrfs_zoned_should_reclaim()
2357 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.c1763 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()