X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre%2Fliblustreapi.h;h=7dbe8c7fe651c4ceb486daeb1746976724ce8ce5;hp=3f4fd1e3c5a77c3ddc429376be319b463569f626;hb=f10371aecfb4aeb7fd972eac5eeb6b7318ad3fc6;hpb=cefa8cda2ba2d288ccaa4ec077a6c627592503ea diff --git a/lustre/include/lustre/liblustreapi.h b/lustre/include/lustre/liblustreapi.h index 3f4fd1e..7dbe8c7 100644 --- a/lustre/include/lustre/liblustreapi.h +++ b/lustre/include/lustre/liblustreapi.h @@ -61,7 +61,7 @@ enum llapi_message_level { /* the bottom three bits reserved for llapi_message_level */ #define LLAPI_MSG_MASK 0x00000007 -#define LLAPI_MSG_NO_ERRNO 0x00000010 +#define LLAPI_MSG_NO_ERRNO 0x00000010 /* liblustreapi.c */ extern void llapi_msg_set_level(int level); @@ -156,6 +156,8 @@ extern int parse_size(char *optarg, unsigned long long *size, unsigned long long *size_units, int bytes_spec); extern int llapi_path2fid(const char *path, unsigned long long *seq, unsigned long *oid, unsigned long *ver); +extern void llapi_ping_target(char *obd_type, char *obd_name, + char *obd_uuid, void *args); struct mntent; #define HAVE_LLAPI_IS_LUSTRE_MNT @@ -171,4 +173,10 @@ extern int llapi_rsetfacl(int argc, char *argv[]); extern int llapi_rgetfacl(int argc, char *argv[]); extern int llapi_cp(int argc, char *argv[]); extern int llapi_ls(int argc, char *argv[]); +extern int llapi_changelog_open(const char *mdtname, long long startrec); +extern int llapi_changelog_clear(const char *mdtname, long long endrec); +struct lu_fid; +extern int llapi_fid2path(char *device, char *fid, char *path, int pathlen, + __u64 recno, int *linkno); #endif +