Searched refs:bg_reclaim_threshold (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/fs/btrfs/ |
A D | space-info.h | 114 int bg_reclaim_threshold; member
|
A D | sysfs.c | 886 return sysfs_emit(buf, "%d\n", READ_ONCE(space_info->bg_reclaim_threshold)); in btrfs_sinfo_bg_reclaim_threshold_show() 904 WRITE_ONCE(space_info->bg_reclaim_threshold, thresh); in btrfs_sinfo_bg_reclaim_threshold_store() 909 BTRFS_ATTR_RW(space_info, bg_reclaim_threshold, 929 BTRFS_ATTR_PTR(space_info, bg_reclaim_threshold), 1250 return sysfs_emit(buf, "%d\n", READ_ONCE(fs_info->bg_reclaim_threshold)); in btrfs_bg_reclaim_threshold_show() 1268 WRITE_ONCE(fs_info->bg_reclaim_threshold, thresh); in btrfs_bg_reclaim_threshold_store() 1272 BTRFS_ATTR_RW(, bg_reclaim_threshold, btrfs_bg_reclaim_threshold_show, 1291 BTRFS_ATTR_PTR(, bg_reclaim_threshold),
|
A D | fs.h | 714 int bg_reclaim_threshold; member
|
A D | free-space-cache.c | 2686 int bg_reclaim_threshold = 0; in __btrfs_add_free_space_zoned() local 2693 bg_reclaim_threshold = READ_ONCE(sinfo->bg_reclaim_threshold); in __btrfs_add_free_space_zoned() 2727 } else if (bg_reclaim_threshold && in __btrfs_add_free_space_zoned() 2729 mult_perc(block_group->zone_capacity, bg_reclaim_threshold)) { in __btrfs_add_free_space_zoned()
|
A D | zoned.c | 2201 if (fs_info->bg_reclaim_threshold == 0) in btrfs_zoned_should_reclaim() 2215 return factor >= fs_info->bg_reclaim_threshold; in btrfs_zoned_should_reclaim()
|
A D | space-info.c | 249 space_info->bg_reclaim_threshold = BTRFS_DEFAULT_ZONED_RECLAIM_THRESH; in create_space_info()
|
A D | block-group.c | 1685 const int reclaim_thresh = READ_ONCE(space_info->bg_reclaim_threshold); in should_reclaim_block_group()
|
A D | disk-io.c | 3012 fs_info->bg_reclaim_threshold = BTRFS_DEFAULT_RECLAIM_THRESH; in btrfs_init_fs_info()
|
Completed in 46 milliseconds