Whamcloud - gitweb
LU-7623 lnet: Get rid of IOC_LIBCFS_DEBUG_PEER hack 78/17778/3
authorOleg Drokin <oleg.drokin@intel.com>
Sun, 3 Jan 2016 20:42:29 +0000 (15:42 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 28 Jan 2016 18:15:20 +0000 (18:15 +0000)
commit39160ccc60eb88c4a665d5d129abceacd2860de2
tree81cf3ee8ee68aafbfb44a8c44a79d695ef25d34c
parentb50bb830f92e87da9bfdc84d14e4f3f78c80c9ac
LU-7623 lnet: Get rid of IOC_LIBCFS_DEBUG_PEER hack

IOC_LIBCFS_DEBUG_PEER was added back in the stone ages to print debug
statistics on a peer when peer timeout happens.
Redo it properly as a separate LNet API call,
also get rid of "ioctl" forwarding into the underlying LNDs,
since no current LNDs implement this function anymore.

Change-Id: I3ec68a28faf840eb67d6084aa0fa5dcbbe2d7567
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/17778
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
libcfs/include/libcfs/libcfs_ioctl.h
lnet/include/lnet/api.h
lnet/lnet/api-ni.c
lustre/ptlrpc/client.c