1 .TH llapi_pcc_detach_fid_fd 3 "2019 April 20" "Lustre User API"
3 llapi_pcc_detach_fid_fd, llapi_pcc_detach_fid, llapi_pcc_detach_fid_str,
4 llapi_pcc_detach_file \- detach the given file from PCC
7 .B #include <lustre/lustreapi.h>
9 .BI "int llapi_pcc_detach_fid_fd(int " dirfd ", const struct lu_fid *" fid ");"
11 .BI "int llapi_pcc_detach_fid(const char *" mntpath ", const struct lu_fid *" fid ");"
13 .BI "int llapi_pcc_detach_fid_str(const char *" mntpath ", const char *" fidstr ");"
15 .BI "int llapi_pcc_detach_file(const char *" path ");"
19 .BR llapi_pcc_detach_fid_fd() ,
20 .BR llapi_pcc_detach_fid() ,
21 .BR llapi_pcc_detach_fid_str() ,
23 .BR llapi_pcc_detach_file()
24 detaches a cached file from PCC by an ioctl on the dir. The file is referenced
30 The dir, which usually a mount point dir that the copytool already has opened,
37 .BR llapi_pcc_detach_fid_fd() ,
38 .BR llapi_pcc_detach_fid() ,
39 .BR llapi_pcc_detach_fid_str() ,
41 .B llapi_pcc_detach_file()
42 return 0 on success or a negative errno value on failure.
46 Insufficient memory to complete operation.
49 Memory region is not properly mapped.
52 One or more invalid arguments are given.
55 PCC state operation is not supported.
58 File does not reside on a Lustre filesystem.
64 .BR llapi_pcc_attach (3),