Whamcloud - gitweb
LU-9121 lnet: Delete a selection policy 99/40199/1
authorSonia Sharma <sharmaso@whamcloud.com>
Fri, 29 Mar 2019 10:51:01 +0000 (06:51 -0400)
committerAmir Shehata <ashehata@whamcloud.com>
Thu, 8 Oct 2020 21:28:13 +0000 (14:28 -0700)
commitad07f6e23131f850ed61f6895e67d4c1ea775154
treecfa2b20d6f4d8987feaa1efe3d3328ac6fe6ae8b
parentb668431f931570364d6c7c8c3e5eb1245a62d235
LU-9121 lnet: Delete a selection policy

This patch adds the function lustre_lnet_del_udsp()
which takes index of the udsp as input and calls
the IOC_LIBCFS_DEL_UDSP ioctl handler to
delete the udsp with that index value.

Change-Id: Ib81c79fd4e76f4e8fbd84709e08cb5d29a059e63
Test-Parameters: trivial testlist=lnet-selftest,sanity-lnet
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Signed-off-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34553
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lnetconfig/liblnetconfig.h
lnet/utils/lnetconfig/liblnetconfig_udsp.c
lnet/utils/lnetctl.c