]> git.ipfire.org Git - thirdparty/linux.git/commit
ext4: add sysfs attribute err_report_sec to control s_err_report timer
authorBaolin Liu <liubaolin@kylinos.cn>
Thu, 11 Dec 2025 03:02:56 +0000 (11:02 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 20 Jan 2026 00:26:35 +0000 (19:26 -0500)
commitd518215c27194486fe13136a8dbbbabeefb5c9b6
treee25b9f26dfb9c59220cadee4de113005e5248ea1
parent270564513489d98b721a1e4a10017978d5213bff
ext4: add sysfs attribute err_report_sec to control s_err_report timer

Add a new sysfs attribute "err_report_sec" to control the s_err_report
timer in ext4_sb_info. Writing '0' disables the timer, while writing
a non-zero value enables the timer and sets the timeout in seconds.

Signed-off-by: Baolin Liu <liubaolin@kylinos.cn>
Link: https://patch.msgid.link/20251211030256.28613-1-liubaolin12138@163.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/super.c
fs/ext4/sysfs.c