Skip to content

Commit 87055f8

Browse files
jtlaytonchucklever
authored andcommitted
nfsd: reorganize struct nfs4_delegation for better packing
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>
1 parent ff383e8 commit 87055f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nfsd/state.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ struct nfs4_delegation {
197197
struct list_head dl_perclnt;
198198
struct list_head dl_recall_lru; /* delegation recalled */
199199
struct nfs4_clnt_odstate *dl_clnt_odstate;
200-
u32 dl_type;
201200
time64_t dl_time;
201+
u32 dl_type;
202202
/* For recall: */
203203
int dl_retries;
204204
struct nfsd4_callback dl_recall;

0 commit comments

Comments
 (0)