diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2017-05-08 18:02:24 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-05-08 19:01:06 -0400 |
commit | e092693443b995c8e3a565a73b5fdb05f1260f9b (patch) | |
tree | e3d20255e0cae9262b5950f3e86f78643a8ab7f4 /fs/nfs/internal.h | |
parent | 28cf22d0ba283deccc30b71de5f34d222cf9aa4c (diff) | |
download | linux-e092693443b995c8e3a565a73b5fdb05f1260f9b.tar.gz linux-e092693443b995c8e3a565a73b5fdb05f1260f9b.tar.bz2 linux-e092693443b995c8e3a565a73b5fdb05f1260f9b.zip |
NFS append COMMIT after synchronous COPY
Instead of messing with the commit path which has been causing issues,
add a COMMIT op after the COPY and ask for stable copies in the first
space.
It saves a round trip, since after the COPY, the client sends a COMMIT
anyway.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 31b26cf1b476..e9b4c3320e37 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -495,7 +495,6 @@ void nfs_mark_request_commit(struct nfs_page *req, u32 ds_commit_idx); int nfs_write_need_commit(struct nfs_pgio_header *); void nfs_writeback_update_inode(struct nfs_pgio_header *hdr); -int nfs_commit_file(struct file *file, struct nfs_write_verifier *verf); int nfs_generic_commit_list(struct inode *inode, struct list_head *head, int how, struct nfs_commit_info *cinfo); void nfs_retry_commit(struct list_head *page_list, |