OS Manuals

llapi_pcc_clear(3)

llapi_pcc_clear - Remove all PCC backends from a client

LLAPI_PCC_CLEAR(3) Lustre Library Functions LLAPI_PCC_CLEAR(3)

llapi_pcc_clear - Remove all PCC backends from a client

#include <lustre/lustreapi.h>
int llapi_pcc_clear(const char *mntpath,
                    enum lu_pcc_cleanup_flags flags);

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.

llapi_pcc_clear() returns 0 on success or a negative errno on failure.

Insufficient memory to complete operation.
Memory region is not properly mapped.
One or more invalid arguments are given.
PCC backend operation is not supported.

llapi_pcc_clear() is part of the lustre(7) user application interface library since release 2.16.0

llapi_pcc_del(3), lustreapi(7)

2024-08-28 Lustre User API

lustre 2.17.59-r1 · enterprise-packages · ingested 2026-10-02