| LLAPI_PCC_CLEAR(3) | Lustre Library Functions | LLAPI_PCC_CLEAR(3) |
NAME
llapi_pcc_clear - Remove all PCC backends from a client
SYNOPSIS
#include <lustre/lustreapi.h>
int llapi_pcc_clear(const char *mntpath,
enum lu_pcc_cleanup_flags flags);
DESCRIPTION
The function llapi_pcc_clear() deletes all PCC backends on the client with the mount point referenced by mntpath. Refer to llapi_pcc_del() for the usage of the input parameter flags.
RETURN VALUES
llapi_pcc_clear() returns 0 on success or a negative errno on failure.
ERRORS
- -ENOMEM
- Insufficient memory to complete operation.
- -EFAULT
- Memory region is not properly mapped.
- -EINVAL
- One or more invalid arguments are given.
- -EOPNOTSUPP
- PCC backend operation is not supported.
AVAILABILITY
llapi_pcc_clear() is part of the lustre(7) user application interface library since release 2.16.0
SEE ALSO
| 2024-08-28 | Lustre User API |