Whamcloud - gitweb
- fixes to the MDS: it now answers requests from the request test
[fs/lustre-release.git] / lustre / include / linux / lustre_mds.h
index 3465630..e293dfb 100644 (file)
@@ -45,7 +45,7 @@ struct mds_obd {
 #define MDS_RENAME  11
 
 struct mds_request { 
 #define MDS_RENAME  11
 
 struct mds_request { 
-       struct list_head *rq_list;
+       struct list_head rq_list;
        struct mds_obd *rq_obd;
        int rq_status;
 
        struct mds_obd *rq_obd;
        int rq_status;
 
@@ -70,6 +70,15 @@ int mds_pack_rep(char *name, int namelen, char *tgt, int tgtlen, struct mds_rep_
 int mds_unpack_rep(char *buf, int len, struct mds_rep_hdr **hdr, struct mds_rep **rep);
 
 
 int mds_unpack_rep(char *buf, int len, struct mds_rep_hdr **hdr, struct mds_rep **rep);
 
 
+/* llight/request.c */
+
+/* ioctls for trying requests */
+#define IOC_REQUEST_TYPE                   'f'
+#define IOC_REQUEST_MIN_NR                 30
+
+#define IOC_REQUEST_GETATTR            _IOWR('f', 30, long)
+#define IOC_REQUEST_MAX_NR               30
+
 #endif
 
 
 #endif