IB/srp: Get rid of "Target has req_lim 0" messages
authorRoland Dreier <rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:33 +0000 (20:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:33 +0000 (20:37 -0700)
commit6bfa24fa3e189269e113197a80e12862c211b3d3
treecdd5adcb58ce726708a48636d3b657155000e8cf
parentb7ac4ab497e44cba75fb0e9e5afca06776518934
IB/srp: Get rid of "Target has req_lim 0" messages

It's perfectly valid for a connection to an SRP target to have a
request limit of 0, so get rid of the message about it, which can spam
kernel logs even with printk_ratelimit().  Keep a count of such events
in a "zero_req_lim" SCSI host attribute instead, so someone who cares
can look at the statistics.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h