LLAPI_PCC_CLEAR(3)
π LLAPI_PCC_CLEAR(3) π
okay bestie, come sit with me, we're reading a Lustre Library Functions page together and honestly? it's a short one, we love that for us π
β¨ NAME β¨
llapi_pcc_clear β the function that removes every single PCC backend from a client. all of them. the whole roster. gone π
π¦ SYNOPSIS π¦
#include <lustre/lustreapi.h>
int llapi_pcc_clear(const char *mntpath,
enum lu_pcc_cleanup_flags flags);
πΈ DESCRIPTION πΈ
so llapi_pcc_clear() deletes all PCC backends on the client whose mount point is referenced by mntpath. every one of them. it's giving spring cleaning, it's giving "clear the cache but make it permanent" β¨
and about that flags parameter? don't overthink it, bestie β for the usage of the input parameter flags, go look at llapi_pcc_del(). that's the main character for flag semantics, this one just borrows the vibe. iykyk π«Ά
π₯ RETURN VALUES π₯
0β slay, it worked, success periodt β¨- a negative
errnoβ not slay, something went wrong π
π ERRORS π
-ENOMEMβ not enough memory to complete the operation. the RAM said "no thoughts, head empty" π-EFAULTβ the memory region is not properly mapped. it's giving lost in the sauce π-EINVALβ one or more invalid arguments were given. bestieβ¦ check your args fr fr π-EOPNOTSUPPβ PCC backend operation is not supported here. this client said "not my era" π
β AVAILABILITY β
llapi_pcc_clear() is part of the lustre(7) user application interface library, and it's been here since release 2.16.0 π so if you're on something olderβ¦ babe, upgrade π
π SEE ALSO π
and that's the whole page, you ate that ππ this was the Lustre User API page, dated 2024-08-28, and i'm obsessed with you for reading a manpage for fun. go clear some backends, queen πβ¨
π¦ where this page comes from
- ubuntu stonking: lustre-client-utils 2.17.58+dfsg-0ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms