Skip to content

Commit

Permalink
RDS: RDMA: silence the use_once mr log flood
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
SantoshShilimkar committed Jan 2, 2017
1 parent 5601245 commit c536a06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/rds/rdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c536a06

Please sign in to comment.