本文主要是介绍linux内核文件翻译 dm-queue-length,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
dm-queue-length
中文版维护者: Chinese translated version of Documentation/usb/anchors.txt
If you have any comment or update to the content, please contact the
original document maintainer directly. However, if you have a problem
communicating in English you can also ask the Chinese maintainer for
help. Contact the Chinese maintainer if this translation is outdated
or if there is a problem with the translation.
Chinese maintainer: tianyu
---------------------------------------------------------------------
Documentation/usb/anchors.txt 的中文翻译
如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
译存在问题,请联系中文版维护者。
中文版维护者: 田雨
中文版翻译者: 田雨
中文版校译者: 田雨
1 dm-queue-length
2 DM-队列长度===============
3
4 dm-queue-length is a path selector module for device-mapper targets,
DM-队列长度是一个路径选择模块的device-mapper目标,
5 which selects a path with the least number of in-flight I/Os.
选择一个有最少数目I / O的路径
6 The path selector name is 'queue-length'.
7 路径选择的名字是'队列长度
8
每个路径表参数:[<repeat_count>]
9 <repeat_count>: The number of I/Os to dispatch using the selected
10 path before switching to the next path.
11 If not given, internal default is used. To check
12 the default value, see the activated table.
13 I / O调度使用选择的
路径的数目,然后再切换到下一个路径。
如果没有给出,内部使用默认值。要检查
的默认值,请参阅激活表。
14 Status for each path: <status> <fail-count> <in-flight>
15 <status>: 'A' if the path is active, 'F' if the path is failed.
16 <fail-count>: The number of path failures.
17 <in-flight>: The number of in-flight I/Os on the path.
18 每个路径的状态:<STATUS><fail-count><in-flight>
<STATUS>:'A',如果路径处于活动状态,'F'如果路径失败。
<fail-count>:路径故障的数量。
<in-flight>:在飞行路径上的I / O数量..
19
20 Algorithm
21 =算法========
22
23 dm-queue-length increments/decrements 'in-flight' when an I/O is
24 dispatched/completed respectively.
25 dm-queue-length selects a path with the minimum 'in-flight'.
DM-队列长度递增/递减“飞行”时,I / O是
分别派出/完成。
分米队列长度选择一个具有最小“在飞行中”的路径。
26
27
28 Examples
29 示例========
30 In case that 2 paths (sda and sdb) are used with repeat_count == 128.
31 的情况下,2路(SDA和SDB)与REPEAT_COUNT==128。
32 # echo "0 10 multipath 0 0 1 1 queue-length 0 2 1 8:0 128 8:16 128" \
33 dmsetup create test
34 #回声“010多径001 1队列长度0218:01288:16128”\
33 dmsetup的创建测试
35 # dmsetup table
dmsetup的表
36 test: 0 10 multipath 0 0 1 1 queue-length 0 2 1 8:0 128 8:16 128
37 #测试:010多径001 1队列长度0 2 18:01288:16128
这篇关于linux内核文件翻译 dm-queue-length的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!