Whamcloud - gitweb
LU-9121 lnet: Delete a selection policy
authorSonia Sharma <sharmaso@whamcloud.com>
Fri, 29 Mar 2019 10:51:01 +0000 (06:51 -0400)
committerAmir Shehata <ashehata@whamcloud.com>
Mon, 22 Feb 2021 17:10:57 +0000 (09:10 -0800)
commitbbb3a875717f159c4a99eccebf0c28f30459da4f
tree268ce1fa2a580b026764b3f4f19e621be36a2761
parentadb73693529da52741af7f20b4ab8229e47e6713
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