diff options
| author | Jeff Layton <jlayton@primarydata.com> | 2014-11-19 07:51:17 -0500 |
|---|---|---|
| committer | J. Bruce Fields <bfields@redhat.com> | 2014-12-09 11:22:20 -0500 |
| commit | 78b65eb3fda95c6d131c4bbb0536e21f0bd7a7d4 (patch) | |
| tree | 3a950b2765bef86f7ea928a9abd0f4b53e86513e /include | |
| parent | 30660e04b0d4bbbd15fd21098681f45a9f4080b9 (diff) | |
sunrpc: move rq_dropme flag into rq_flags
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/sunrpc/svc.h | 2 | ||||
| -rw-r--r-- | include/trace/events/sunrpc.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index 6a3cf4c76dce..d4ea3e5246b0 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h | |||
| @@ -255,6 +255,7 @@ struct svc_rqst { | |||
| 255 | #define RQ_SECURE (0) /* secure port */ | 255 | #define RQ_SECURE (0) /* secure port */ |
| 256 | #define RQ_LOCAL (1) /* local request */ | 256 | #define RQ_LOCAL (1) /* local request */ |
| 257 | #define RQ_USEDEFERRAL (2) /* use deferral */ | 257 | #define RQ_USEDEFERRAL (2) /* use deferral */ |
| 258 | #define RQ_DROPME (3) /* drop current reply */ | ||
| 258 | unsigned long rq_flags; /* flags field */ | 259 | unsigned long rq_flags; /* flags field */ |
| 259 | 260 | ||
| 260 | void * rq_argp; /* decoded arguments */ | 261 | void * rq_argp; /* decoded arguments */ |
| @@ -271,7 +272,6 @@ struct svc_rqst { | |||
| 271 | struct cache_req rq_chandle; /* handle passed to caches for | 272 | struct cache_req rq_chandle; /* handle passed to caches for |
| 272 | * request delaying | 273 | * request delaying |
| 273 | */ | 274 | */ |
| 274 | bool rq_dropme; | ||
| 275 | /* Catering to nfsd */ | 275 | /* Catering to nfsd */ |
| 276 | struct auth_domain * rq_client; /* RPC peer info */ | 276 | struct auth_domain * rq_client; /* RPC peer info */ |
| 277 | struct auth_domain * rq_gssclient; /* "gss/"-style peer info */ | 277 | struct auth_domain * rq_gssclient; /* "gss/"-style peer info */ |
diff --git a/include/trace/events/sunrpc.h b/include/trace/events/sunrpc.h index 6d1facdebc92..355671f19a9f 100644 --- a/include/trace/events/sunrpc.h +++ b/include/trace/events/sunrpc.h | |||
| @@ -416,7 +416,8 @@ TRACE_EVENT(xs_tcp_data_recv, | |||
| 416 | __print_flags(flags, "|", \ | 416 | __print_flags(flags, "|", \ |
| 417 | { (1UL << RQ_SECURE), "RQ_SECURE"}, \ | 417 | { (1UL << RQ_SECURE), "RQ_SECURE"}, \ |
| 418 | { (1UL << RQ_LOCAL), "RQ_LOCAL"}, \ | 418 | { (1UL << RQ_LOCAL), "RQ_LOCAL"}, \ |
| 419 | { (1UL << RQ_USEDEFERRAL), "RQ_USEDEFERRAL"}) | 419 | { (1UL << RQ_USEDEFERRAL), "RQ_USEDEFERRAL"}, \ |
| 420 | { (1UL << RQ_DROPME), "RQ_DROPME"}) | ||
| 420 | 421 | ||
| 421 | TRACE_EVENT(svc_recv, | 422 | TRACE_EVENT(svc_recv, |
| 422 | TP_PROTO(struct svc_rqst *rqst, int status), | 423 | TP_PROTO(struct svc_rqst *rqst, int status), |
| @@ -459,13 +460,12 @@ DECLARE_EVENT_CLASS(svc_rqst_status, | |||
| 459 | TP_fast_assign( | 460 | TP_fast_assign( |
| 460 | __entry->addr = (struct sockaddr *)&rqst->rq_addr; | 461 | __entry->addr = (struct sockaddr *)&rqst->rq_addr; |
| 461 | __entry->xid = rqst->rq_xid; | 462 | __entry->xid = rqst->rq_xid; |
| 462 | __entry->dropme = (int)rqst->rq_dropme; | ||
| 463 | __entry->status = status; | 463 | __entry->status = status; |
| 464 | __entry->flags = rqst->rq_flags; | 464 | __entry->flags = rqst->rq_flags; |
| 465 | ), | 465 | ), |
| 466 | 466 | ||
| 467 | TP_printk("addr=%pIScp rq_xid=0x%x dropme=%d status=%d flags=%s", | 467 | TP_printk("addr=%pIScp rq_xid=0x%x status=%d flags=%s", |
| 468 | __entry->addr, be32_to_cpu(__entry->xid), __entry->dropme, | 468 | __entry->addr, be32_to_cpu(__entry->xid), |
| 469 | __entry->status, show_rqstp_flags(__entry->flags)) | 469 | __entry->status, show_rqstp_flags(__entry->flags)) |
| 470 | ); | 470 | ); |
| 471 | 471 | ||
