summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorOlga Kornievskaia2017-05-09 00:02:24 +0200
committerTrond Myklebust2017-05-09 01:01:06 +0200
commite092693443b995c8e3a565a73b5fdb05f1260f9b (patch)
treee3d20255e0cae9262b5950f3e86f78643a8ab7f4 /fs/nfs/internal.h
parentNFSv4: Fix exclusive create attributes encoding (diff)
downloadkernel-qcow2-linux-e092693443b995c8e3a565a73b5fdb05f1260f9b.tar.gz
kernel-qcow2-linux-e092693443b995c8e3a565a73b5fdb05f1260f9b.tar.xz
kernel-qcow2-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.h1
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,