mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
28cf22d0ba
commit
e092693443
5 changed files with 36 additions and 39 deletions
|
@ -1383,6 +1383,7 @@ struct nfs42_copy_res {
|
|||
struct nfs42_write_res write_res;
|
||||
bool consecutive;
|
||||
bool synchronous;
|
||||
struct nfs_commitres commit_res;
|
||||
};
|
||||
|
||||
struct nfs42_seek_args {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue