File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Documentation/ABI/testing Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -791,3 +791,9 @@ Description: Controls migration window granularity of garbage collection on larg
791
791
section. it can control the scanning window granularity for GC migration
792
792
in a unit of segment, while migration_granularity controls the number
793
793
of segments which can be migrated at the same turn.
794
+
795
+ What: /sys/fs/f2fs/<disk>/reserved_segments
796
+ Date: September 2024
797
+ Contact: "Daeho Jeong" <
[email protected] >
798
+ Description: In order to fine tune GC behavior, we can control the number of
799
+ reserved segments.
Original file line number Diff line number Diff line change @@ -986,6 +986,7 @@ SM_INFO_GENERAL_RW_ATTR(min_fsync_blocks);
986
986
SM_INFO_GENERAL_RW_ATTR (min_seq_blocks );
987
987
SM_INFO_GENERAL_RW_ATTR (min_hot_blocks );
988
988
SM_INFO_GENERAL_RW_ATTR (min_ssr_sections );
989
+ SM_INFO_GENERAL_RW_ATTR (reserved_segments );
989
990
990
991
/* DCC_INFO ATTR */
991
992
DCC_INFO_RW_ATTR (max_small_discards , max_discards );
@@ -1158,6 +1159,7 @@ static struct attribute *f2fs_attrs[] = {
1158
1159
ATTR_LIST (min_seq_blocks ),
1159
1160
ATTR_LIST (min_hot_blocks ),
1160
1161
ATTR_LIST (min_ssr_sections ),
1162
+ ATTR_LIST (reserved_segments ),
1161
1163
ATTR_LIST (max_victim_search ),
1162
1164
ATTR_LIST (migration_granularity ),
1163
1165
ATTR_LIST (migration_window_granularity ),
You can’t perform that action at this time.
0 commit comments