NFS: Add support for eager writes
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 12 Feb 2021 21:49:48 +0000 (16:49 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 16 Feb 2021 21:11:14 +0000 (16:11 -0500)
commited7bcdb374d20fab9e9dc36853a6735c047ad1b1
treea2db953e95a3d23cc6e276c6bd7fe6a1f9967b81
parent75cfb200cd081d23eb7eaa68deba9e0ab9320070
NFS: Add support for eager writes

Support eager writing to the server, meaning that we write the data to
cache on the server, and wait for that to complete. This ensures that we
see ENOSPC errors immediately.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/file.c
fs/nfs/write.c
include/linux/nfs_fs_sb.h