summaryrefslogtreecommitdiff
path: root/net/rds
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>2016-07-04 05:14:10 +0300
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2017-01-03 01:02:49 +0300
commitc536a068870a08fb7b35482e701a6b72e294b493 (patch)
tree1773e11f8d46692e33096c5c048b1bde0fea8e67 /net/rds
parent56012459310a1dbcc55c2dbf5500a9f7571402cb (diff)
downloadlinux-c536a068870a08fb7b35482e701a6b72e294b493.tar.xz
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>
Diffstat (limited to 'net/rds')
-rw-r--r--net/rds/rdma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rds/rdma.c b/net/rds/rdma.c
index ea961144084f..4297f3f337d7 100644
--- a/net/rds/rdma.c
+++ b/net/rds/rdma.c
@@ -415,7 +415,8 @@ void rds_rdma_unuse(struct rds_sock *rs, u32 r_key, int force)
spin_lock_irqsave(&rs->rs_rdma_lock, flags);
mr = rds_mr_tree_walk(&rs->rs_rdma_keys, r_key, NULL);
if (!mr) {
- printk(KERN_ERR "rds: trying to unuse MR with unknown r_key %u!\n", r_key);
+ pr_debug("rds: trying to unuse MR with unknown r_key %u!\n",
+ r_key);
spin_unlock_irqrestore(&rs->rs_rdma_lock, flags);
return;
}