-
Notifications
You must be signed in to change notification settings - Fork 0
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 <alex.shi@linux.alibaba.com> Cc: Harry Wei <harryxiyou@gmail.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Link: https://lore.kernel.org/r/20200713115807.56362-2-alex.shi@linux.alibaba.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
- Loading branch information
Alex Shi
authored and
Jonathan Corbet
committed
Jul 23, 2020
1 parent
37a607c
commit 71fc2eb
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