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

/linux-master/fs/btrfs/
H A Dspace-info.h123 int bg_reclaim_threshold; member in struct:btrfs_space_info
H A Dsysfs.c906 return sysfs_emit(buf, "%d\n", READ_ONCE(space_info->bg_reclaim_threshold));
924 WRITE_ONCE(space_info->bg_reclaim_threshold, thresh);
929 BTRFS_ATTR_RW(space_info, bg_reclaim_threshold,
949 BTRFS_ATTR_PTR(space_info, bg_reclaim_threshold),
1280 return sysfs_emit(buf, "%d\n", READ_ONCE(fs_info->bg_reclaim_threshold));
1303 WRITE_ONCE(fs_info->bg_reclaim_threshold, thresh);
1307 BTRFS_ATTR_RW(, bg_reclaim_threshold, btrfs_bg_reclaim_threshold_show,
1367 BTRFS_ATTR_PTR(, bg_reclaim_threshold),
H A Dfs.h774 int bg_reclaim_threshold; member in struct:btrfs_fs_info
H A Dfree-space-cache.c2699 int bg_reclaim_threshold = 0; local
2706 bg_reclaim_threshold = READ_ONCE(sinfo->bg_reclaim_threshold);
2740 } else if (bg_reclaim_threshold &&
2742 mult_perc(block_group->zone_capacity, bg_reclaim_threshold)) {
H A Dzoned.c2446 if (fs_info->bg_reclaim_threshold == 0)
2460 return factor >= fs_info->bg_reclaim_threshold;
H A Dspace-info.c248 space_info->bg_reclaim_threshold = BTRFS_DEFAULT_ZONED_RECLAIM_THRESH;
H A Ddisk-io.c2834 fs_info->bg_reclaim_threshold = BTRFS_DEFAULT_RECLAIM_THRESH;
H A Dblock-group.c1761 const int reclaim_thresh = READ_ONCE(space_info->bg_reclaim_threshold);

Completed in 225 milliseconds