diff options
| author | Chao Yu <chao@kernel.org> | 2026-02-04 11:05:01 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2026-02-10 20:53:21 +0000 |
| commit | 52190933c37a96164b271f3f30c16099d9eb8c09 (patch) | |
| tree | e25d701fba05bf5a68a6c2307cbe1e8cc4d7bf27 /Documentation/ABI | |
| parent | bc367775f60214312befa33f101b31fe74bba48a (diff) | |
| download | linux-next-52190933c37a96164b271f3f30c16099d9eb8c09.tar.gz linux-next-52190933c37a96164b271f3f30c16099d9eb8c09.zip | |
f2fs: sysfs: introduce critical_task_priority
This patch introduces /sys/fs/f2fs/<disk>/critical_task_priority, w/
this new sysfs interface, we can tune priority of f2fs_ckpt thread and
f2fs_gc thread.
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/ABI')
| -rw-r--r-- | Documentation/ABI/testing/sysfs-fs-f2fs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs index ea6474db8a31..c1d2b3fd9c65 100644 --- a/Documentation/ABI/testing/sysfs-fs-f2fs +++ b/Documentation/ABI/testing/sysfs-fs-f2fs @@ -987,3 +987,11 @@ Contact: "Chao Yu" <chao@kernel.org> Description: f2fs can tune priority of thread which has entered into critical region covered by f2fs rwsemphore lock. This sysfs entry can be used to control priority value, the range is [100,139], by default the value is 120. + +What: /sys/fs/f2fs/<disk>/critical_task_priority +Date: February 2026 +Contact: "Chao Yu" <chao@kernel.org> +Description: It can be used to tune priority of f2fs critical task, e.g. f2fs_ckpt, f2fs_gc + threads, limitation as below: + - it requires user has CAP_SYS_NICE capability. + - the range is [100, 139], by default the value is 100. |
