X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Flustre_mds.h;h=e293dfbdda70ad4e20aedc0acf9a2876b8eda032;hp=34656307e685e6e6458e0807f6aea42aad441809;hb=6ac6a67a4c5352a308171322affd569eabe23dff;hpb=30e4df0abf17b168e95912b73a975a82efa905eb diff --git a/lustre/include/linux/lustre_mds.h b/lustre/include/linux/lustre_mds.h index 3465630..e293dfb 100644 --- a/lustre/include/linux/lustre_mds.h +++ b/lustre/include/linux/lustre_mds.h @@ -45,7 +45,7 @@ struct mds_obd { #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; @@ -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); +/* 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