Home
last modified time | relevance | path

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

/linux-6.15/fs/btrfs/
H A Dspace-info.h129 int bg_reclaim_threshold; member
H A Dsysfs.c937 WRITE_ONCE(space_info->bg_reclaim_threshold, thresh); in btrfs_sinfo_bg_reclaim_threshold_store()
942 BTRFS_ATTR_RW(space_info, bg_reclaim_threshold,
1028 BTRFS_ATTR_PTR(space_info, bg_reclaim_threshold),
1501 return sysfs_emit(buf, "%d\n", READ_ONCE(fs_info->bg_reclaim_threshold)); in btrfs_bg_reclaim_threshold_show()
1524 WRITE_ONCE(fs_info->bg_reclaim_threshold, thresh); in btrfs_bg_reclaim_threshold_store()
1528 BTRFS_ATTR_RW(, bg_reclaim_threshold, btrfs_bg_reclaim_threshold_show,
1588 BTRFS_ATTR_PTR(, bg_reclaim_threshold),
H A Dfs.h802 int bg_reclaim_threshold; member
H A Dspace-info.c262 space_info->bg_reclaim_threshold = BTRFS_DEFAULT_ZONED_RECLAIM_THRESH; in create_space_info()
1989 return READ_ONCE(space_info->bg_reclaim_threshold); in btrfs_calc_reclaim_threshold()
H A Dfree-space-cache.c2702 int bg_reclaim_threshold = 0; in __btrfs_add_free_space_zoned() local
2711 bg_reclaim_threshold = READ_ONCE(sinfo->bg_reclaim_threshold); in __btrfs_add_free_space_zoned()
2745 } else if (bg_reclaim_threshold && in __btrfs_add_free_space_zoned()
2747 mult_perc(block_group->zone_capacity, bg_reclaim_threshold)) { in __btrfs_add_free_space_zoned()
H A Dzoned.c2486 if (fs_info->bg_reclaim_threshold == 0) in btrfs_zoned_should_reclaim()
2500 return factor >= fs_info->bg_reclaim_threshold; in btrfs_zoned_should_reclaim()
H A Ddisk-io.c2906 fs_info->bg_reclaim_threshold = BTRFS_DEFAULT_RECLAIM_THRESH; in btrfs_init_fs_info()