Whamcloud - gitweb
LU-13903 utils: separate out server code for wiretest 73/43873/9
authorJames Simmons <jsimmons@infradead.org>
Sat, 21 Aug 2021 17:54:42 +0000 (13:54 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 17 Sep 2021 14:07:48 +0000 (14:07 +0000)
commit9ef92397c3c8066310eb3952a9e3910374814844
treeda27a292ff5ba0e55968114279de2bccc754957f
parentd963e66f609c3bf4766fe4f8d6eeb93a5471c569
LU-13903 utils: separate out server code for wiretest

Both the kernel and userland utility wiretest is used by both
client and server to validate data being sent over the network.
Make userland  wiretest buildable on the native Linux client
which lacks server specific data structures. Use of the UAPI
values to hardern testing of user land data passed to the
kernel.

Change-Id: I30efc8bf42ac461bab5a4371e940a027a23d12c9
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/43873
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/ptlrpc/wiretest.c
lustre/utils/liblustreapi_fid.c
lustre/utils/wirecheck.c
lustre/utils/wirehdr.c
lustre/utils/wiretest.c