]> git.baikalelectronics.ru Git - kernel.git/commit
NFS append COMMIT after synchronous COPY
authorOlga Kornievskaia <kolga@netapp.com>
Mon, 8 May 2017 22:02:24 +0000 (18:02 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 8 May 2017 23:01:06 +0000 (19:01 -0400)
commitdae71fd3d5bd92701c8395fc7bcf7e48a2f1395b
treee3d20255e0cae9262b5950f3e86f78643a8ab7f4
parent305dc0f566daee57c60c5d51b451967b0fa8601c
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>
fs/nfs/internal.h
fs/nfs/nfs42proc.c
fs/nfs/nfs42xdr.c
fs/nfs/write.c
include/linux/nfs_xdr.h