RDMA/rtrs-clt: Update one outdated comment in path_it_deinit()
authorJack Wang <jinpu.wang@ionos.com>
Fri, 14 Jan 2022 15:47:52 +0000 (16:47 +0100)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 28 Jan 2022 14:58:17 +0000 (10:58 -0400)
The skip_list is used for both MIN_INFLIGHT and MIN_LATENCY.

Link: https://lore.kernel.org/r/20220114154753.983568-5-haris.iqbal@ionos.com
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/rtrs/rtrs-clt.c

index 7c3f98e57889f82e735272593166650123791923..a866162465862c20c1aa33c66d328c623a27e3dd 100644 (file)
@@ -917,7 +917,7 @@ static inline void path_it_deinit(struct path_it *it)
 {
        struct list_head *skip, *tmp;
        /*
-        * The skip_list is used only for the MIN_INFLIGHT policy.
+        * The skip_list is used only for the MIN_INFLIGHT and MIN_LATENCY policies.
         * We need to remove paths from it, so that next IO can insert
         * paths (->mp_skip_entry) into a skip_list again.
         */