diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2021-05-19 21:48:27 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2021-05-26 00:06:51 +0300 |
commit | eac0b17a77fbd763d305a5eaa4fd1119e5a0fe0d (patch) | |
tree | 8d4564e8689e153884abd2a0afb3a08fc271659f /fs/nfsd/flexfilelayoutxdr.c | |
parent | eeeadbb9bd5652c47bb9b31aa9ad8b4f1b4aa8b3 (diff) | |
download | linux-eac0b17a77fbd763d305a5eaa4fd1119e5a0fe0d.tar.xz |
NFSD add vfs_fsync after async copy is done
Currently, the server does all copies as NFS_UNSTABLE. For synchronous
copies linux client will append a COMMIT to the COPY compound but for
async copies it does not (because COMMIT needs to be done after all
bytes are copied and not as a reply to the COPY operation).
However, in order to save the client doing a COMMIT as a separate
rpc, the server can reply back with NFS_FILE_SYNC copy. This patch
proposed to add vfs_fsync() call at the end of the async copy.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/flexfilelayoutxdr.c')
0 files changed, 0 insertions, 0 deletions