X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Futils%2Flustreapi_internal.h;h=4d636f454e77e1ca3225191b24d6b50d1c106d6d;hp=92e4994e104df461e433e3e38fe9f6493210c5ea;hb=7de178ba4afcf8c50c5430b861c9d0eeb84f800f;hpb=68be7b634d8e46c110f11916dd87b9f1c36a90e1 diff --git a/lustre/utils/lustreapi_internal.h b/lustre/utils/lustreapi_internal.h index 92e4994..4d636f4 100644 --- a/lustre/utils/lustreapi_internal.h +++ b/lustre/utils/lustreapi_internal.h @@ -155,4 +155,12 @@ int libcfs_ukuc_stop(struct lustre_kernelcomm *l); int libcfs_ukuc_get_rfd(struct lustre_kernelcomm *link); int libcfs_ukuc_msg_get(struct lustre_kernelcomm *l, char *buf, int maxsize, int transport); + +enum get_lmd_info_type { + GET_LMD_INFO = 1, + GET_LMD_STRIPE = 2, +}; + +int get_lmd_info_fd(char *path, int parentfd, int dirfd, + void *lmd_buf, int lmd_len, enum get_lmd_info_type type); #endif /* _LUSTREAPI_INTERNAL_H_ */