Documentation/ABI/rtrs-clt: Add descriptions for min-latency policy
authorGioh Kim <gi-oh.kim@ionos.com>
Wed, 7 Apr 2021 11:34:44 +0000 (13:34 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 13 Apr 2021 22:44:54 +0000 (19:44 -0300)
Describe new multipath policy min-latency of the RTRS client.

Link: https://lore.kernel.org/r/20210407113444.150961-5-gi-oh.kim@ionos.com
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Documentation/ABI/testing/sysfs-class-rtrs-client

index 0f7165aab25126de4fd4839943418cdae96b0d95..49a4157c7bf10c2d6cc367eb17e8abb34c06c48d 100644 (file)
@@ -34,6 +34,9 @@ Description:  Multipath policy specifies which path should be selected on each IO
                min-inflight (1):
                    select path with minimum inflights.
 
+               min-latency (2):
+                   select path with minimum latency.
+
 What:          /sys/class/rtrs-client/<session-name>/paths/
 Date:          Feb 2020
 KernelVersion: 5.7
@@ -95,6 +98,15 @@ KernelVersion:       5.7
 Contact:       Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 Description:   RO, Contains the destination address of the path
 
+What:          /sys/class/rtrs-client/<session-name>/paths/<src@dst>/cur_latency
+Date:          Feb 2020
+KernelVersion: 5.7
+Contact:       Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
+Description:   RO, Contains the latency 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.
+               This value can be changed regularly.
+
 What:          /sys/class/rtrs-client/<session-name>/paths/<src@dst>/stats/reset_all
 Date:          Feb 2020
 KernelVersion: 5.7