* GPL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*/
/*
rq_no_delay:1, rq_net_err:1, rq_wait_ctx:1,
rq_early:1, rq_must_unlink:1,
rq_fake:1, /* this fake req */
+ rq_memalloc:1, /* req originated from "kswapd" */
/* server-side flags */
rq_packed_final:1, /* packed final reply */
rq_hp:1, /* high priority RPC */
/**
* security and encryption data
* @{ */
- struct ptlrpc_cli_ctx *rq_cli_ctx; /* client's half ctx */
- struct ptlrpc_svc_ctx *rq_svc_ctx; /* server's half ctx */
- cfs_list_t rq_ctx_chain; /* link to waited ctx */
+ struct ptlrpc_cli_ctx *rq_cli_ctx; /**< client's half ctx */
+ struct ptlrpc_svc_ctx *rq_svc_ctx; /**< server's half ctx */
+ cfs_list_t rq_ctx_chain; /**< link to waited ctx */
- struct sptlrpc_flavor rq_flvr; /* client & server */
+ struct sptlrpc_flavor rq_flvr; /**< for client & server */
enum lustre_sec_part rq_sp_from;
unsigned long /* client/server security flags */
/* (server side), pointed directly into req buffer */
struct ptlrpc_user_desc *rq_user_desc;
- /** @} */
-
/** early replies go to offset 0, regular replies go after that */
unsigned int rq_reply_off;
int rq_clrbuf_len; /* only in priv mode */
int rq_clrdata_len; /* only in priv mode */
+ /** @} */
+
/** Fields that help to see if request and reply were swabbed or not */
__u32 rq_req_swab_mask;
__u32 rq_rep_swab_mask;
* when request/reply sent (secs), or time when request should be sent
*/
time_t rq_sent;
+ /** time for request really sent out */
+ time_t rq_real_sent;
/** when request must finish. volatile
* so that servers' early reply updates to the deadline aren't