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>
Showing
- fs/nfs/internal.h 0 additions, 1 deletionfs/nfs/internal.h
- fs/nfs/nfs42proc.c 15 additions, 6 deletionsfs/nfs/nfs42proc.c
- fs/nfs/nfs42xdr.c 20 additions, 2 deletionsfs/nfs/nfs42xdr.c
- fs/nfs/write.c 0 additions, 30 deletionsfs/nfs/write.c
- include/linux/nfs_xdr.h 1 addition, 0 deletionsinclude/linux/nfs_xdr.h
Please register or sign in to comment