Files
linux/fs/nfs/inode.c
Trond Myklebust abfd17844a NFS: Serialise O_DIRECT i/o and truncate()
[ Upstream commit 9eb90f4354 ]

Ensure that all O_DIRECT reads and writes are complete, and prevent the
initiation of new i/o until the setattr operation that will truncate the
file is complete.

Fixes: a5864c999d ("NFS: Do not serialise O_DIRECT reads and writes")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-09-19 16:35:44 +02:00

75 KiB