diff options
| author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2025-02-01 14:59:02 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-07 18:25:26 +0100 |
| commit | b7b3d772e48aa76a6733f241c63e589799b09cdc (patch) | |
| tree | 00f62d076d4d41eb49865afdeaefff0dbfc0cd4c /kernel/stacktrace.c | |
| parent | 3594aad97e7be2557ca9fa9c931b206b604028c8 (diff) | |
| download | linux-b7b3d772e48aa76a6733f241c63e589799b09cdc.tar.gz linux-b7b3d772e48aa76a6733f241c63e589799b09cdc.tar.bz2 linux-b7b3d772e48aa76a6733f241c63e589799b09cdc.zip | |
NFS: O_DIRECT writes must check and adjust the file length
[ Upstream commit fcf857ee1958e9247298251f7615d0c76f1e9b38 ]
While it is uncommon for delegations to be held while O_DIRECT writes
are in progress, it is possible. The xfstests generic/647 and
generic/729 both end up triggering that state, and end up failing due to
the fact that the file size is not adjusted.
Reported-by: Chuck Lever <chuck.lever@oracle.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219738
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Stable-dep-of: 88025c67fe3c ("NFS: Adjust delegated timestamps for O_DIRECT reads and writes")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions
