projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff383e8
)
nfsd: reorganize struct nfs4_delegation for better packing
author
Jeff Layton
<jlayton@kernel.org>
Mon, 3 Mar 2025 17:25:59 +0000
(12:25 -0500)
committer
Chuck Lever
<chuck.lever@oracle.com>
Mon, 10 Mar 2025 13:11:11 +0000
(09:11 -0400)
Move dl_type field above dl_time, which shaves 8 bytes off this struct.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/state.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/state.h
b/fs/nfsd/state.h
index cd469bde6859e2274d5ea7367870e5aab4d0bd29..290e29dd43eb2aff6b17d6632cb8792476011173 100644
(file)
--- a/
fs/nfsd/state.h
+++ b/
fs/nfsd/state.h
@@
-197,8
+197,8
@@
struct nfs4_delegation {
struct list_head dl_perclnt;
struct list_head dl_recall_lru; /* delegation recalled */
struct nfs4_clnt_odstate *dl_clnt_odstate;
- u32 dl_type;
time64_t dl_time;
+ u32 dl_type;
/* For recall: */
int dl_retries;
struct nfsd4_callback dl_recall;