linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Shi <alex.shi@linux.alibaba.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Alex Shi <alex.shi@linux.alibaba.com>,
	Harry Wei <harryxiyou@gmail.com>,
	Jonathan Corbet <corbet@lwn.net>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 2/3] doc/zh_CN: add clearing-warn-once Chinese version
Date: Mon, 13 Jul 2020 19:58:06 +0800	[thread overview]
Message-ID: <20200713115807.56362-2-alex.shi@linux.alibaba.com> (raw)
In-Reply-To: <20200713115807.56362-1-alex.shi@linux.alibaba.com>

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
---
 .../zh_CN/admin-guide/clearing-warn-once.rst      |  9 +++++++++
 .../translations/zh_CN/admin-guide/index.rst      | 15 ++++++++++++++-
 2 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_CN/admin-guide/clearing-warn-once.rst

diff --git a/Documentation/translations/zh_CN/admin-guide/clearing-warn-once.rst b/Documentation/translations/zh_CN/admin-guide/clearing-warn-once.rst
new file mode 100644
index 000000000000..659264d5f994
--- /dev/null
+++ b/Documentation/translations/zh_CN/admin-guide/clearing-warn-once.rst
@@ -0,0 +1,9 @@
+清除 WARN_ONCE
+--------------
+
+WARN_ONCE / WARN_ON_ONCE / printk_once 仅仅打印一次消息.
+
+echo 1 > /sys/kernel/debug/clear_warn_once
+
+可以清除这种状态并且再次允许打印一次告警信息,这对于运行测试集后重现问题
+很有用。
diff --git a/Documentation/translations/zh_CN/admin-guide/index.rst b/Documentation/translations/zh_CN/admin-guide/index.rst
index 0cb3f79f77cf..76637ff880c5 100644
--- a/Documentation/translations/zh_CN/admin-guide/index.rst
+++ b/Documentation/translations/zh_CN/admin-guide/index.rst
@@ -13,6 +13,7 @@ Linux 内核用户和管理员指南
 
 这个初始部分包含总体信息,包括描述内核的README, 关于内核参数的文档等。
 
+Todolist:
 
    README
    kernel-parameters
@@ -21,10 +22,13 @@ Linux 内核用户和管理员指南
 
 本节介绍CPU漏洞及其缓解措施。
 
+Todolist:
+
    hw-vuln/index
 
 下面的一组文档,针对的是试图跟踪问题和bug的用户。
 
+Todolist:
 
    reporting-bugs
    security-bugs
@@ -40,10 +44,20 @@ Linux 内核用户和管理员指南
 这是应用程序开发人员感兴趣的章节的开始。可以在这里找到涵盖内核ABI各个
 方面的文档。
 
+Todolist:
+
    sysfs-rules
 
 本手册的其余部分包括各种指南,介绍如何根据您的喜好配置内核的特定行为。
 
+
+.. toctree::
+   :maxdepth: 1
+
+   clearing-warn-once
+
+Todolist:
+
    acpi/index
    aoe/index
    auxdisplay/index
@@ -57,7 +71,6 @@ Linux 内核用户和管理员指南
    cgroup-v1/index
    cgroup-v2
    cifs/index
-   clearing-warn-once
    cpu-load
    cputopology
    dell_rbu
-- 
2.18.4


  reply	other threads:[~2020-07-13 11:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-13 11:58 [PATCH v2 1/3] doc/zh_CN: add admin-guide index Alex Shi
2020-07-13 11:58 ` Alex Shi [this message]
2020-07-13 11:58 ` [PATCH v2 3/3] doc/zh_CN: add Chinese translation prefer section Alex Shi
2020-07-23 20:48 ` [PATCH v2 1/3] doc/zh_CN: add admin-guide index Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200713115807.56362-2-alex.shi@linux.alibaba.com \
    --to=alex.shi@linux.alibaba.com \
    --cc=corbet@lwn.net \
    --cc=harryxiyou@gmail.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).