From 87055f8aea273712c35706f11a4250e243137dc9 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Mon, 3 Mar 2025 12:25:59 -0500 Subject: [PATCH] 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 Signed-off-by: Chuck Lever --- fs/nfsd/state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index cd469bde6859..290e29dd43eb 100644 --- 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;