Skip to content
Commit 133a48ab authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix up commit deadlocks



If O_DIRECT bumps the commit_info rpcs_out field, then that could lead
to fsync() hangs. The fix is to ensure that O_DIRECT calls
nfs_commit_end().

Fixes: 723c921e ("sched/wait, fs/nfs: Convert wait_on_atomic_t() usage to the new wait_var_event() API")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 64a93dbf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment