Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/btrfs/
A Dspace-info.h114 int bg_reclaim_threshold; member
A Dsysfs.c886 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 Dfs.h714 int bg_reclaim_threshold; member
A Dfree-space-cache.c2686 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 Dzoned.c2201 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 Dspace-info.c249 space_info->bg_reclaim_threshold = BTRFS_DEFAULT_ZONED_RECLAIM_THRESH; in create_space_info()
A Dblock-group.c1685 const int reclaim_thresh = READ_ONCE(space_info->bg_reclaim_threshold); in should_reclaim_block_group()
A Ddisk-io.c3012 fs_info->bg_reclaim_threshold = BTRFS_DEFAULT_RECLAIM_THRESH; in btrfs_init_fs_info()

Completed in 39 milliseconds