OSDN Git Service

NFS: Revalidate the file mapping on all fatal writeback errors
authorTrond Myklebust <trondmy@gmail.com>
Mon, 6 Jan 2020 20:25:01 +0000 (15:25 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 15 Jan 2020 15:54:32 +0000 (10:54 -0500)
commitb8946d7bfb9417ec171693d4478a831420aead5f
tree0b588913b7f699869dd62fe7fe129977c49d9ea0
parent0df68ced55443243951d02cc497be31fadf28173
NFS: Revalidate the file mapping on all fatal writeback errors

If a write or commit failed, and the mapping sees a fatal error, we
need to revalidate the contents of that mapping.

Fixes: 06c9fdf3b9f1 ("NFS: On fatal writeback errors, we need to call nfs_inode_remove_request()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/write.c