Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

RDMA/rtrs-srv: Rate-limit I/O path error logging

Excessive error logging is making it difficult to identify the root
cause of issues. Implement rate limiting to improve log clarity.

Signed-off-by: Kim Zhu <zhu.yanjun@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Grzegorz Prajsner <grzegorz.prajsner@ionos.com>
Link: https://patch.msgid.link/20260107161517.56357-8-haris.iqbal@ionos.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>

authored by

Kim Zhu and committed by
Leon Romanovsky
b034a10f c32eaba2

+1 -1
+1 -1
drivers/infiniband/ulp/rtrs/rtrs-srv.c
··· 184 184 struct rtrs_srv_path *srv_path = to_srv_path(s); 185 185 186 186 if (wc->status != IB_WC_SUCCESS) { 187 - rtrs_err(s, "REG MR failed: %s\n", 187 + rtrs_err_rl(s, "REG MR failed: %s\n", 188 188 ib_wc_status_msg(wc->status)); 189 189 close_path(srv_path); 190 190 return;