Whamcloud - gitweb
b=18525
[fs/lustre-release.git] / lustre / include / lustre / lustre_idl.h
index 04e3064..bf8fad1 100644 (file)
@@ -1159,6 +1159,7 @@ typedef enum {
         MDS_SETXATTR     = 50, /* obsolete, now it's MDS_REINT op */
         MDS_WRITEPAGE    = 51,
         MDS_IS_SUBDIR    = 52,
+        MDS_GET_INFO     = 53,
         MDS_LAST_OPC
 } mds_cmd_t;
 
@@ -2374,6 +2375,17 @@ struct changelog_setinfo {
         __u32 cs_id;
 } __attribute__((packed));
 
+/** fid2path request/reply structure */
+struct getinfo_fid2path {
+        struct lu_fid   gf_fid;
+        __u64           gf_recno;
+        __u32           gf_linkno;
+        __u32           gf_pathlen;
+        char            gf_path[0];
+};
+
+void lustre_swab_fid2path (struct getinfo_fid2path *gf);
+
 /** changelog record */
 struct llog_changelog_rec {
         struct llog_rec_hdr   cr_hdr;