Skip to content

Commit c536a06

Browse files
RDS: RDMA: silence the use_once mr log flood
In absence of extension headers, message log will keep flooding the console. As such even without use_once we can clean up the MRs so its not really an error case message so make it debug message Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
1 parent 5601245 commit c536a06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

net/rds/rdma.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,8 @@ void rds_rdma_unuse(struct rds_sock *rs, u32 r_key, int force)
415415
spin_lock_irqsave(&rs->rs_rdma_lock, flags);
416416
mr = rds_mr_tree_walk(&rs->rs_rdma_keys, r_key, NULL);
417417
if (!mr) {
418-
printk(KERN_ERR "rds: trying to unuse MR with unknown r_key %u!\n", r_key);
418+
pr_debug("rds: trying to unuse MR with unknown r_key %u!\n",
419+
r_key);
419420
spin_unlock_irqrestore(&rs->rs_rdma_lock, flags);
420421
return;
421422
}

0 commit comments

Comments
 (0)