Whamcloud - gitweb
fld: other bits of stand-alone fld
authornikita <nikita>
Fri, 21 Apr 2006 20:40:37 +0000 (20:40 +0000)
committernikita <nikita>
Fri, 21 Apr 2006 20:40:37 +0000 (20:40 +0000)
lustre/include/linux/lustre_idl.h

index 1731772..d62de6c 100644 (file)
@@ -191,7 +191,7 @@ static inline int fid_is_sane(const struct lu_fid *fid)
 
 extern void lustre_swab_lu_fid (struct lu_fid *fid);
 
-static inline int lu_fid_eq(const struct lu_fid *f0, 
+static inline int lu_fid_eq(const struct lu_fid *f0,
                             const struct lu_fid *f1)
 {
        /* check that there is no alignment padding */
@@ -351,6 +351,10 @@ static inline void lustre_msg_set_op_flags(struct lustre_msg *msg, int flags)
 #define ECHO_CONNECT_SUPPORTED (0)
 #define MGS_CONNECT_SUPPORTED  (OBD_CONNECT_VERSION)
 
+#define MDT_CONNECT_SUPPORTED  (OBD_CONNECT_RDONLY | OBD_CONNECT_VERSION | \
+                                OBD_CONNECT_ACL | OBD_CONNECT_XATTR | \
+                                OBD_CONNECT_IBITS | OBD_CONNECT_JOIN)
+
 #define OBD_OCD_VERSION(major,minor,patch,fix) (((major)<<24) + ((minor)<<16) +\
                                                 ((patch)<<8) + (fix))
 #define OBD_OCD_VERSION_MAJOR(version) ((int)((version)>>24)&255)
@@ -687,7 +691,6 @@ typedef enum {
         MDS_QUOTACTL     = 48,
         MDS_GETXATTR     = 49,
         MDS_SETXATTR     = 50,
-        MDS_FLD          = 51,
         MDS_LAST_OPC
 } mds_cmd_t;
 
@@ -1532,6 +1535,12 @@ enum llogd_rpc_ops {
         LLOG_LAST_OPC
 };
 
+enum fld_rpc_opc {
+        FLD_QUERY                       = 600,
+        FLD_LAST_OPC,
+        FLD_FIRST_OPC                   = FLD_QUERY
+};
+
 struct llogd_body {
         struct llog_logid  lgd_logid;
         __u32 lgd_ctxt_idx;