forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc/zh_CN: add clearing-warn-once Chinese version
and link it into admin-guide. Signed-off-by: Alex Shi <[email protected]> Cc: Harry Wei <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
Documentation/translations/zh_CN/admin-guide/clearing-warn-once.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
清除 WARN_ONCE | ||
-------------- | ||
|
||
WARN_ONCE / WARN_ON_ONCE / printk_once 仅仅打印一次消息. | ||
|
||
echo 1 > /sys/kernel/debug/clear_warn_once | ||
|
||
可以清除这种状态并且再次允许打印一次告警信息,这对于运行测试集后重现问题 | ||
很有用。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters