+ struct list_head rq_mod_list;
+
+ struct ptlrpc_cli_ctx *rq_cli_ctx; /* client's half ctx */
+ struct ptlrpc_svc_ctx *rq_svc_ctx; /* server's half ctx */
+ struct list_head rq_ctx_chain; /* link to waited ctx */
+ ptlrpc_sec_flavor_t rq_sec_flavor; /* client & server */
+ /* client security flags */
+ unsigned int rq_ctx_init:1, /* context initiation */
+ rq_ctx_fini:1, /* context destroy */
+ rq_bulk_read:1, /* request bulk read */
+ rq_bulk_write:1, /* request bulk write */
+ /* server authentication flags */
+ rq_auth_gss:1, /* authenticated by gss */
+ rq_auth_remote:1, /* authed as remote user */
+ rq_auth_usr_root:1, /* authed as root */
+ rq_auth_usr_mdt:1, /* authed as mdt */
+ /* doesn't expect reply FIXME */
+ rq_no_reply:1;
+
+ uid_t rq_auth_uid; /* authed uid */
+ uid_t rq_auth_mapped_uid; /* authed uid mapped to */
+
+ /* (server side), pointed directly into req buffer */
+ struct ptlrpc_user_desc *rq_user_desc;
+
+ /* various buffer pointers */
+ struct lustre_msg *rq_reqbuf; /* req wrapper */
+ int rq_reqbuf_len; /* req wrapper buf len */
+ int rq_reqdata_len; /* req wrapper msg len */
+ struct lustre_msg *rq_repbuf; /* rep wrapper */
+ int rq_repbuf_len; /* rep wrapper buf len */
+ int rq_repdata_len; /* rep wrapper msg len */
+ struct lustre_msg *rq_clrbuf; /* only in priv mode */
+ int rq_clrbuf_len; /* only in priv mode */
+ int rq_clrdata_len; /* only in priv mode */