diff options
| author | Wenjie Qi <qwjhust@gmail.com> | 2026-08-04 09:48:49 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2026-08-05 01:30:45 +0000 |
| commit | 8e4692c6c165e81b2cbb847d8da4b45a53483b33 (patch) | |
| tree | fffc068333176a890f3963af91895ee5e8827cc3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5cb33b00c8fbb6e8f1fa3d281c3036d5f7c7c41f (diff) | |
f2fs: protect critical_task_priority updates with s_umount
The sysfs store path already takes s_umount for GC thread control
entries, and ckpt_thread_ioprio is covered as well.
critical_task_priority also updates checkpoint or GC kthread scheduling
state, but it is not covered by that serialization. It can race with
remount or teardown paths that are stopping those threads.
Protect critical_task_priority sysfs writes with s_umount too.
Fixes: 52190933c37a ("f2fs: sysfs: introduce critical_task_priority")
Cc: stable@kernel.org
Signed-off-by: Wenjie Qi <qiwenjie@xiaomi.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
