summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2022-02-15 15:58:38 -0500
committerTrond Myklebust <trond.myklebust@hammerspace.com>2022-02-25 18:50:13 -0500
commit6c984083ec2453dfd3fcf98f392f34500c73e3f2 (patch)
tree4ab31b3146645c0fc691189c8aebac596b8fab16 /ipc
parent84631f84ac95b6ff6f08a41ffba1f93eaab4e9c7 (diff)
downloadlinux-6c984083ec2453dfd3fcf98f392f34500c73e3f2.tar.bz2
NFS: Use of mapping_set_error() results in spurious errors
The use of mapping_set_error() in conjunction with calls to filemap_check_errors() is problematic because every error gets reported as either an EIO or an ENOSPC by filemap_check_errors() in functions such as filemap_write_and_wait() or filemap_write_and_wait_range(). In almost all cases, we prefer to use the more nuanced wb errors. Fixes: b8946d7bfb94 ("NFS: Revalidate the file mapping on all fatal writeback errors") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions