Re: [PATCH] f2fs: add missing doc for fault injection sysfs

From: Chao Yu
Date: Thu Dec 15 2022 - 09:38:18 EST


On 2022/12/15 22:14, Yangtao Li wrote:
Hi Chao,

-What: /sys/fs/f2fs/<disk>/gc_mode
-Date: October 2022
-Contact: "Yangtao Li" <frank.li@xxxxxxxx>
-Description: Show the current gc_mode as a string.
- This is a read-only entry.
-What: /sys/fs/f2fs/<disk>/discard_urgent_util
-Date: November 2022
-Contact: "Yangtao Li" <frank.li@xxxxxxxx>
-Description: When space utilization exceeds this, do background DISCARD aggressively.
- Does DISCARD forcibly in a period of given min_discard_issue_time when the number
- of discards is not 0 and set discard granularity to 1.
- Default: 80
-
-What: /sys/fs/f2fs/<disk>/hot_data_age_threshold
-Date: November 2022
-Contact: "Ping Xiong" <xiongping1@xxxxxxxxxx>
-Description: When DATA SEPARATION is on, it controls the age threshold to indicate
- the data blocks as hot. By default it was initialized as 262144 blocks
- (equals to 1GB).
-
-What: /sys/fs/f2fs/<disk>/warm_data_age_threshold
-Date: November 2022
-Contact: "Ping Xiong" <xiongping1@xxxxxxxxxx>
-Description: When DATA SEPARATION is on, it controls the age threshold to indicate
- the data blocks as warm. By default it was initialized as 2621440 blocks
- (equals to 10GB).

Why delete other node descriptions, mistake?

Oh, my bad, I missed to handle merge confilct correctly, will
fix in v2.

Thanks,


Thx,
Yangtao