]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:37 +0000 (14:03 +0100)
commit829adc469a18a1893c93b23f2155efbee363a0df
tree27487390e6f9387f013b646f5e17f87d15e0b5c8
parent1959d1265e24131265a7976648d0431c658ff4a5
nfs/localio: remove 61 byte hole from needless ____cacheline_aligned

[ Upstream commit 0b873de2c02f9cc655bef6bee0eb9e404126ed6c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/localio.c