This patch set introduces new multipath policy 'min-latency'. The latency is a time calculated by the heart-beat messages. Whenever the client sends heart-beat message, it checks the time gap between sending the heart-beat message and receiving the ACK. So this value can be changed regularly. If client has multi-path, it can send IO via a path having the least latency. V3->V2: use sysfs_emit instead of scnprintf V2->V1: use sysfs_emit instead of sprintf Gioh Kim (3): RDMA/rtrs-clt: Add a minimum latency multipath policy RDMA/rtrs-clt: new sysfs attribute to print the latency of each path Documentation/ABI/rtrs-clt: Add descriptions for min-latency policy Md Haris Iqbal (1): RDMA/rtrs-clt: Check state of the rtrs_clt_sess before reading its stats .../ABI/testing/sysfs-class-rtrs-client | 12 ++++ drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c | 35 ++++++++++- drivers/infiniband/ulp/rtrs/rtrs-clt.c | 60 ++++++++++++++++++- drivers/infiniband/ulp/rtrs/rtrs-clt.h | 1 + drivers/infiniband/ulp/rtrs/rtrs-pri.h | 2 + drivers/infiniband/ulp/rtrs/rtrs.c | 3 + 6 files changed, 109 insertions(+), 4 deletions(-) -- 2.25.1