Skip to contentSkip to conversation

docs/zh_CN: add translation of scsi subsystem

PATCH In review haodongdong 3 participants 4 messages Jun 30, 2025 – Jul 3, 2025 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/zh_CN: add translation of scsi subsystem

This patch introduces the Chinese translation
of the following SCSI subsystem documentation
files:

    ../scsi/index.rst
    ../scsi/link_power_management_policy.rst
    ../scsi/scsi_eh.rst
    ../scsi/scsi_mid_low_api.rst
    ../scsi/scsi-parameters.rst
    ../scsi/scsi.rst
    ../scsi/sd-parameters.rst
---
 .../translations/zh_CN/scsi/index.rst         |   92 ++
 .../scsi/link_power_management_policy.rst     |   32 +
 .../zh_CN/scsi/scsi-parameters.rst            |  118 ++
 .../translations/zh_CN/scsi/scsi.rst          |   48 +
 .../translations/zh_CN/scsi/scsi_eh.rst       |  482 +++++++
 .../zh_CN/scsi/scsi_mid_low_api.rst           | 1174 +++++++++++++++++
 .../translations/zh_CN/scsi/sd-parameters.rst |   38 +
 .../translations/zh_CN/subsystem-apis.rst     |    2 +-
 8 files changed, 1985 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_CN/scsi/index.rst
 create mode 100644 Documentation/translations/zh_CN/scsi/link_power_management_policy.rst
 create mode 100644 Documentation/translations/zh_CN/scsi/scsi-parameters.rst
 create mode 100644 Documentation/translations/zh_CN/scsi/scsi.rst
 create mode 100644 Documentation/translations/zh_CN/scsi/scsi_eh.rst
 create mode 100644 Documentation/translations/zh_CN/scsi/scsi_mid_low_api.rst
 create mode 100644 Documentation/translations/zh_CN/scsi/sd-parameters.rst
Documentation/translations/zh_CN/scsi/index.rst new file +92 -0
new file mode 100644
index 000000000000..0ee76039118b
@@ -0,0 +1,92 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: Documentation/scsi/index.rst
+
+:翻译:
+
+ 郝栋栋 Dongdong Hao <[email protected]>
+
+:校译:
+
+
+
+==========
+SCSI子系统
+==========
+
+.. toctree::
+   :maxdepth: 1
+
+简介
+====
+
+.. toctree::
+   :maxdepth: 1
+
+   scsi
+
+SCSI驱动接口
+============
+
+.. toctree::
+   :maxdepth: 1
+
+   scsi_mid_low_api
+   scsi_eh
+
+SCSI驱动参数
+============
+
+.. toctree::
+   :maxdepth: 1
+
+   scsi-parameters
+   link_power_management_policy
+
+SCSI主机适配器驱动
+==================
+
+.. toctree::
+   :maxdepth: 1
+
+   sd-parameters
+
+Todolist:
+
+* 53c700
+* aacraid
+* advansys
+* aha152x
+* aic79xx
+* aic7xxx
+* arcmsr_spec
+* bfa
+* bnx2fc
+* BusLogic
+* cxgb3i
+* dc395x
+* dpti
+* FlashPoint
+* g_NCR5380
+* hpsa
+* hptiop
+* libsas
+* lpfc
+* megaraid
+* ncr53c8xx
+* NinjaSCSI
+* ppa
+* qlogicfas
+* scsi-changer
+* scsi_fc_transport
+* scsi-generic
+* smartpqi
+* st
+* sym53c500_cs
+* sym53c8xx_2
+* tcm_qla2xxx
+* ufs
+* wd719x
+
+* scsi_transport_srp/figures
Documentation/translations/zh_CN/scsi/link_power_management_policy.rst new file +32 -0
new file mode 100644
index 000000000000..67382a6a9b5f
@@ -0,0 +1,32 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: Documentation/scsi/link_power_management_policy.rst
+
+:翻译:
+
+ 郝栋栋 Dongdong Hao <[email protected]>
+
+:校译:
+
+
+
+================
+链路电源管理策略
+================
+
+该参数允许用户设置链路(接口)的电源管理模式。
+共计三类可选项:
+
+=====================   =====================================================
+选项			作用
+=====================   =====================================================
+min_power		指示控制器在可能的情况下尽量使链路处于最低功耗。
+			这可能会牺牲一定的性能,因为从低功耗状态恢复时会增加延迟。
+
+max_performance		通常,这意味着不进行电源管理。指示
+			控制器优先考虑性能而非电源管理。
+
+medium_power		指示控制器在可能的情况下进入较低功耗状态,
+			而非最低功耗状态,从而改善min_power模式下的延迟。
+=====================   =====================================================
\ No newline at end of file
Documentation/translations/zh_CN/scsi/scsi-parameters.rst new file +118 -0

118 lines not on this page · raw message

Documentation/translations/zh_CN/scsi/scsi.rst new file +48 -0

49 lines not on this page · raw message

Documentation/translations/zh_CN/scsi/scsi_eh.rst new file +482 -0

482 lines not on this page · raw message

Documentation/translations/zh_CN/scsi/scsi_mid_low_api.rst new file +1174 -0

1,175 lines not on this page · raw message

Documentation/translations/zh_CN/scsi/sd-parameters.rst new file +38 -0
new file mode 100644
index 000000000000..662caec15b4d
@@ -0,0 +1,38 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: Documentation/scsi/sd-parameters.rst
+
+:翻译:
+
+ 郝栋栋 Dongdong Hao <[email protected]>
+
+:校译:
+
+
+
+============================
+Linux SCSI磁盘驱动(sd)参数
+============================
+
+缓存类型(读/写)
+------------------
+启用/禁用驱动器读写缓存。
+
+===========================    =====   =====   =======   =======
+ 缓存类型字符串                 WCE     RCD     写缓存    读缓存
+===========================    =====   =====   =======   =======
+ write through                   0       0       关闭      开启
+ none                            0       1       关闭      关闭
+ write back                      1       0       开启      开启
+ write back, no read (daft)      1       1       开启      关闭
+===========================    =====   =====   =======   =======
+
+将缓存类型设置为“write back”并将该设置保存到驱动器::
+
+  # echo "write back" > cache_type
+
+如果要修改缓存模式但不使更改持久化,可在缓存类型字符串前
+添加“temporary ”。例如::
+
+  # echo "temporary write back" > cache_type
Documentation/translations/zh_CN/subsystem-apis.rst +1 -1
index 8b646c1010be..0f121f9b0f70 100644
@@ -71,12 +71,12 @@ TODOList:
    :maxdepth: 1
 
    filesystems/index
+   scsi/index
 
 TODOList:
 
 * block/index
 * cdrom/index
-* scsi/index
 * target/index
 
 **Fixme**: 这里还需要更多的分类组织工作。
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 12 lines · haodongdong

This patch introduces the Chinese translation
of the following SCSI subsystem documentation
files:

     ../scsi/index.rst
     ../scsi/link_power_management_policy.rst
     ../scsi/scsi_eh.rst
     ../scsi/scsi_mid_low_api.rst
     ../scsi/scsi-parameters.rst
     ../scsi/scsi.rst
     ../scsi/sd-parameters.rst
Quoted 9 lines
---
  .../translations/zh_CN/scsi/index.rst         |   92 ++
  .../scsi/link_power_management_policy.rst     |   32 +
  .../zh_CN/scsi/scsi-parameters.rst            |  118 ++
  .../translations/zh_CN/scsi/scsi.rst          |   48 +
  .../translations/zh_CN/scsi/scsi_eh.rst       |  482 +++++++
  .../zh_CN/scsi/scsi_mid_low_api.rst           | 1174 +++++++++++++++++
  .../translations/zh_CN/scsi/sd-parameters.rst |   38 +
  .../translations/zh_CN/subsystem-apis.rst     |    2 +-

Would you mind splitting the patches into a patch set,

with one patch per file? I think this would make the

review much more convenient.

Thanks,

Yanteng

A message that is not in the archive (sent off-list or not yet received): 220d7401030e8c57cb19a90642e0e0ae27071c38.9f9c8c60.2744.44cc.bd7a.c6eb47a4a3f8@feishu.cn

reviewer
#3 lore raw
Quoted 4 lines · 郝栋栋

Hi Yanteng,
Thank you again for your kind suggestion.

Sorry for the mistake. I will split the original patch into a patch set with one patch per file and resend it soon, to make the review easier. Since this is my first time submitting patches to the Linux kernel, I’m still learning the process and might not fully understand all the best practices. I really appreciate your guidance.

Great!

Quoted 2 lines

Do I need to do anything to withdraw the previous single patch?

No

Quoted 1 line

Or can I just submit the new patch set directly as a replacement?

It's fine to directly resubmit your patch set.

Quoted 1 line

Should I mention in the cover letter that it supersedes the earlier version?

No need to mention it.

Dongliang Mu

Quoted 42 lines

Best regards,
Dongdong Hao
From: "Yanteng Si"<[email protected] <mailto:[email protected]>>
Date: Mon, Jun 30, 2025, 11:04
Subject: Re: [PATCH] docs/zh_CN: add translation of scsi subsystem
To: "haodongdong"<[email protected] <mailto:[email protected]>>, <[email protected] <mailto:[email protected]>>
Cc: <[email protected] <mailto:[email protected]>>, <[email protected] <mailto:[email protected]>>, <[email protected] <mailto:[email protected]>>

Quoted 11 lines · haodongdong

This patch introduces the Chinese translation
of the following SCSI subsystem documentation
files:
     ../scsi/index.rst
     ../scsi/link_power_management_policy.rst
     ../scsi/scsi_eh.rst
     ../scsi/scsi_mid_low_api.rst
     ../scsi/scsi-parameters.rst
     ../scsi/scsi.rst
     ../scsi/sd-parameters.rst

Quoted 8 lines

---
  .../translations/zh_CN/scsi/index.rst         |   92 ++ .../scsi/link_power_management_policy.rst     |   32 + .../zh_CN/scsi/scsi-parameters.rst            |  118 ++ .../translations/zh_CN/scsi/scsi.rst          |   48 + .../translations/zh_CN/scsi/scsi_eh.rst       |  482 +++++++ .../zh_CN/scsi/scsi_mid_low_api.rst           | 1174

+++++++++++++++++

Quoted 2 lines

  .../translations/zh_CN/scsi/sd-parameters.rst |   38 + .../translations/zh_CN/subsystem-apis.rst     |    2 +-

Would you mind splitting the patches into a patch set,

with one patch per file? I think this would make the

review much more convenient.

Thanks,

Yanteng

maintainer
#4 lore raw
In reply to a message not in the archive
Quoted 8 lines · 郝栋栋

Hi Yanteng,
Thank you again for your kind suggestion.

Sorry for the mistake. I will split the original patch into a patch set with one patch per file and resend it soon, to make the review easier. Since this is my first time submitting patches to the Linux kernel, I’m still learning the process and might not fully understand all the best practices. I really appreciate your guidance.

Do I need to do anything to withdraw the previous single patch? Or can I just submit the new patch set directly as a replacement? Should I mention in the cover letter that it supersedes the earlier version?

Maybe this document can help you.

https://docs.kernel.org/translations/zh_CN/how-to.html

Thanks,

Yanteng