This patch value is in the following: 1. In the Storage-Backup environment of HyperCluster, includes one storage array near to the host and one remote storage array, and the two storage arrays have the same hardware.The same LUN is writed or readed by the two storage arrays. However, usually, the average latency of the paths of the remote storage array is much higher than the near storage array's. Apparently, the prioritizer can be a good automatic solution. And the current selectors don't solve it, IOs will send to the paths of the remote storage array, IOPS will be influenced unavoidably. 2. In the environment of single storage array, the prioritizer can automatically separate the paths who's latency is much higher, IOs will not send to this paths. But the current selectors don't solve this problem, IOPS will be influenced unavoidably. Changes to v2: * Reorganize the commit comment and patch format * Added Benjamin, Martin and Xose's Reviewed-by Changes to v1: * The value of "MIN_IO_NUM" is set 2 from 10 * Fix according to Benjamin, Martin and Xose's reviews. Yang Feng (1): multipath-tools: Prioritizer based on a latency algorithm libmultipath/prio.h | 1 + libmultipath/prioritizers/Makefile | 4 + libmultipath/prioritizers/path_latency.c | 272 +++++++++++++++++++++++++++++++ multipath/multipath.conf.5 | 18 ++ 4 files changed, 295 insertions(+) create mode 100644 libmultipath/prioritizers/path_latency.c -- 2.6.4.windows.1 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel