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>
This commit is contained in:
Jeff Layton 2025-03-03 12:25:59 -05:00 committed by Chuck Lever
parent ff383e8f94
commit 87055f8aea

View File

@ -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;