Whamcloud - gitweb
LU-827 lov: Implement a per file data_version.
[fs/lustre-release.git] / lustre / include / lustre / liblustreapi.h
index a528c55..331d3ee 100644 (file)
@@ -223,6 +223,8 @@ extern int llapi_fid2path(const char *device, const char *fidstr, char *path,
 extern int llapi_path2fid(const char *path, lustre_fid *fid);
 extern int llapi_get_version(char *buffer, int buffer_size, char **version);
 
+extern int llapi_get_data_version(int fd, __u64 *data_version, __u64 flags);
+
 /* Changelog interface.  priv is private state, managed internally
    by these functions */
 #define CHANGELOG_FLAG_FOLLOW 0x01   /* Not yet implemented */