Searched refs:bg_reclaim_threshold (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | sysfs.c | 943 WRITE_ONCE(space_info->bg_reclaim_threshold, thresh); in btrfs_sinfo_bg_reclaim_threshold_store() 948 BTRFS_ATTR_RW(space_info, bg_reclaim_threshold, 1034 BTRFS_ATTR_PTR(space_info, bg_reclaim_threshold), 1514 return sysfs_emit(buf, "%d\n", READ_ONCE(fs_info->bg_reclaim_threshold)); in btrfs_bg_reclaim_threshold_show() 1537 WRITE_ONCE(fs_info->bg_reclaim_threshold, thresh); in btrfs_bg_reclaim_threshold_store() 1541 BTRFS_ATTR_RW(, bg_reclaim_threshold, btrfs_bg_reclaim_threshold_show, 1560 BTRFS_ATTR_PTR(, bg_reclaim_threshold),
|
| H A D | free-space-cache.c | 2694 int bg_reclaim_threshold = 0; in __btrfs_add_free_space_zoned() local 2703 bg_reclaim_threshold = READ_ONCE(sinfo->bg_reclaim_threshold); in __btrfs_add_free_space_zoned() 2737 } else if (bg_reclaim_threshold && in __btrfs_add_free_space_zoned() 2739 mult_perc(block_group->zone_capacity, bg_reclaim_threshold)) { in __btrfs_add_free_space_zoned()
|
| H A D | space-info.c | 266 space_info->bg_reclaim_threshold = BTRFS_DEFAULT_ZONED_RECLAIM_THRESH; in init_space_info() 2108 return READ_ONCE(space_info->bg_reclaim_threshold); in btrfs_calc_reclaim_threshold()
|
| H A D | fs.h | 864 int bg_reclaim_threshold; member
|
| H A D | zoned.c | 2886 if (fs_info->bg_reclaim_threshold == 0) in btrfs_zoned_should_reclaim() 2899 return factor >= fs_info->bg_reclaim_threshold; in btrfs_zoned_should_reclaim()
|
| H A D | disk-io.c | 2892 fs_info->bg_reclaim_threshold = BTRFS_DEFAULT_RECLAIM_THRESH; in btrfs_init_fs_info()
|