X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fdoc%2Fllapi_pcc_attach.3;h=a28355985b7dec46fd3e80e7ae401b9299cbf876;hb=58d744e3eaab;hp=87a92029da6e087d29ff5321de2e3f9c0c190b81;hpb=f172b116885753d0f316549a2fb9d451e9b4bd2e;p=fs%2Flustre-release.git diff --git a/lustre/doc/llapi_pcc_attach.3 b/lustre/doc/llapi_pcc_attach.3 index 87a9202..a283559 100644 --- a/lustre/doc/llapi_pcc_attach.3 +++ b/lustre/doc/llapi_pcc_attach.3 @@ -1,19 +1,31 @@ .TH llapi_pcc_attach 3 "2019 April 20" "Lustre User API" .SH NAME -llapi_pcc_attach \- attach a file into PCC +llapi_pcc_attach, llapi_pcc_attach_fid, llapi_pcc_attach_fid_str \- attach a file into PCC .SH SYNOPSIS .nf .B #include .PP .BI "int llapi_pcc_attach(const char *" path ", __u32 " id , .BI " enum lu_pcc_type " type ");" +.PP +.BI "int llapi_pcc_attach_fid(const char *" mntpath ", const struct lu_fid *" fid , +.BI " __u32 " id ", enum lu_pcc_type " type ");" +.PP +.BI "int llapi_pcc_attach_fid_str(const char *" mntpath ", const char *" fidstr , +.BI " __u32 " id ", enum lu_pcc_type " type ");" .fi .SH DESCRIPTION .PP The function -.B llapi_pcc_attach() +.BR llapi_pcc_attach() , +.BR llapi_pcc_attach_fid() , +and +.BR llapi_pcc_attach_fid_str() tries to attach the file referenced by -.BR path +.IR path , +.IR fid , +or +.IR fidstr into PCC backend. PCC provides a group of local caches and works in two modes: RW-PCC enables a read-write cache on the local SSDs of a single client; RO-PCC provides a read-only cache on the local SSDs of multiple clients. For RW-PCC,