From b55187b6111595a01d3579304f072d2866e4c380 Mon Sep 17 00:00:00 2001 From: nikita Date: Fri, 21 Apr 2006 20:40:37 +0000 Subject: [PATCH] fld: other bits of stand-alone fld --- lustre/include/linux/lustre_idl.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lustre/include/linux/lustre_idl.h b/lustre/include/linux/lustre_idl.h index 1731772..d62de6c 100644 --- a/lustre/include/linux/lustre_idl.h +++ b/lustre/include/linux/lustre_idl.h @@ -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; -- 1.8.3.1