Whamcloud - gitweb
LU-9121 lnet: ioctl handler for "delete policy" 94/40194/1
authorSonia Sharma <sharmaso@whamcloud.com>
Fri, 29 Mar 2019 08:19:35 +0000 (04:19 -0400)
committerAmir Shehata <ashehata@whamcloud.com>
Thu, 8 Oct 2020 21:27:30 +0000 (14:27 -0700)
commit7307e3530f47469af4f6a9bd1e51b596872c37c7
treeb8b01042fa4547149fa36550d4129d50c97befa6
parent5d141f437dbaadff5dc8da7343518484dce70728
LU-9121 lnet: ioctl handler for "delete policy"

The ioctl handler for "delete policy" deletes
a policy with the given index value. It
returns 0 if a policy with that index is found
else it returns -EINVAL.

Change-Id: I037c6808e71e5c13ccf46c243145b0ce6f1229cb
Test-Parameters: trivial testlist=lnet-selftest,sanity-lnet
Signed-off-by: Sonia Sharma <sharmaso@whamcloud.com>
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34552
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
lnet/include/uapi/linux/lnet/libcfs_ioctl.h
lnet/lnet/api-ni.c