]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/rds: Replace printk in TX path with stat variable
authorYuval Shaia <yuval.shaia@oracle.com>
Fri, 14 Jul 2017 20:41:50 +0000 (23:41 +0300)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 15 Jul 2017 04:31:57 +0000 (21:31 -0700)
commitbeb3fe60c7ffef09d851e94feb4efc1c2e852559
tree3d2f96aa0da0fc79a61d8b940a86b3ccc49b7eb6
parentd62127c972383d68f8980fccce54cefc922ef996
net/rds: Replace printk in TX path with stat variable

Printing in any form is not recommended in data path.
Fix it by replacing printk with a new statistics counter.

Orabug: 26402653

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Reviewed-by: Avinash Repaka <avinash.repaka@oracle.com>
net/rds/rds.h
net/rds/send.c
net/rds/stats.c