]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nfs/localio: remove 61 byte hole from needless ____cacheline_aligned
authorMike Snitzer <snitzer@kernel.org>
Wed, 26 Nov 2025 06:01:27 +0000 (01:01 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 6 Dec 2025 00:34:29 +0000 (19:34 -0500)
commit0b873de2c02f9cc655bef6bee0eb9e404126ed6c
tree321c23f17db00b7bec880c1e384a041eabfd46a5
parentf50d0328d02fe38ba196a73c143e5d87e341d4f7
nfs/localio: remove 61 byte hole from needless ____cacheline_aligned

struct nfs_local_kiocb used ____cacheline_aligned on its iters[] array
and as the structure evolved it caused a 61 byte hole to form.  Fix
this by removing ____cacheline_aligned and reordering iters[] before
iter_is_dio_aligned[].

Fixes: 6a218b9c3183 ("nfs/localio: do not issue misaligned DIO out-of-order")
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/localio.c