Searched hist:aded8d7b54f250af6deb72fde475291cfba513d1 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/nfs/ |
H A D | nfs4file.c | diff aded8d7b54f250af6deb72fde475291cfba513d1 Sun Apr 07 12:59:04 CDT 2019 Trond Myklebust <trondmy@gmail.com> NFS: Don't inadvertently clear writeback errors
vfs_fsync() has the side effect of clearing unreported writeback errors, so we need to make sure that we do not abuse it in situations where applications might not normally expect us to report those errors.
The solution is to replace calls to vfs_fsync() with calls to nfs_wb_all().
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
|
H A D | file.c | diff aded8d7b54f250af6deb72fde475291cfba513d1 Sun Apr 07 12:59:04 CDT 2019 Trond Myklebust <trondmy@gmail.com> NFS: Don't inadvertently clear writeback errors
vfs_fsync() has the side effect of clearing unreported writeback errors, so we need to make sure that we do not abuse it in situations where applications might not normally expect us to report those errors.
The solution is to replace calls to vfs_fsync() with calls to nfs_wb_all().
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
|