diff options
| author | Jeff Layton <jlayton@primarydata.com> | 2014-11-19 07:51:19 -0500 |
|---|---|---|
| committer | J. Bruce Fields <bfields@redhat.com> | 2014-12-09 11:22:21 -0500 |
| commit | 62978b3c619422d0ea17dbd39efdb2328295bcfb (patch) | |
| tree | 7e9728153124b5070b6089f2933fee4277685a9b /include/linux/sunrpc | |
| parent | 779fb0f3af3089daa2e88cf8ef0ef0c5d2fecb40 (diff) | |
sunrpc: move rq_cachetype field to better optimize space
There are a couple of holes in the svc_rqst field on x86_64. Move the
rq_cachetype to a different location to eliminate both of them.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc')
| -rw-r--r-- | include/linux/sunrpc/svc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index 2714287fc4f6..8054a30c8a95 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h | |||
| @@ -252,6 +252,7 @@ struct svc_rqst { | |||
| 252 | u32 rq_vers; /* program version */ | 252 | u32 rq_vers; /* program version */ |
| 253 | u32 rq_proc; /* procedure number */ | 253 | u32 rq_proc; /* procedure number */ |
| 254 | u32 rq_prot; /* IP protocol */ | 254 | u32 rq_prot; /* IP protocol */ |
| 255 | int rq_cachetype; /* catering to nfsd */ | ||
| 255 | #define RQ_SECURE (0) /* secure port */ | 256 | #define RQ_SECURE (0) /* secure port */ |
| 256 | #define RQ_LOCAL (1) /* local request */ | 257 | #define RQ_LOCAL (1) /* local request */ |
| 257 | #define RQ_USEDEFERRAL (2) /* use deferral */ | 258 | #define RQ_USEDEFERRAL (2) /* use deferral */ |
| @@ -278,7 +279,6 @@ struct svc_rqst { | |||
| 278 | /* Catering to nfsd */ | 279 | /* Catering to nfsd */ |
| 279 | struct auth_domain * rq_client; /* RPC peer info */ | 280 | struct auth_domain * rq_client; /* RPC peer info */ |
| 280 | struct auth_domain * rq_gssclient; /* "gss/"-style peer info */ | 281 | struct auth_domain * rq_gssclient; /* "gss/"-style peer info */ |
| 281 | int rq_cachetype; | ||
| 282 | struct svc_cacherep * rq_cacherep; /* cache info */ | 282 | struct svc_cacherep * rq_cacherep; /* cache info */ |
| 283 | struct task_struct *rq_task; /* service thread */ | 283 | struct task_struct *rq_task; /* service thread */ |
| 284 | }; | 284 | }; |
