staging/lustre/lnet: Get rid of IOC_LIBCFS_DEBUG_PEER hack
authorOleg Drokin <green@linuxhacker.ru>
Sun, 3 Jan 2016 17:05:33 +0000 (12:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:27:25 +0000 (14:27 -0800)
commit71c36dd795b308df112da7d7f2f8b1a98fb6e7ed
treebafe8ab6f722a71526b01733f3b9849ce198c89c
parentfccfde7d5d94327a991244124e01fa1daa9bb543
staging/lustre/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.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_ioctl.h
drivers/staging/lustre/include/linux/lnet/api.h
drivers/staging/lustre/lnet/lnet/api-ni.c
drivers/staging/lustre/lustre/ptlrpc/client.c