diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2019-06-14 20:38:40 +0200 |
---|---|---|
committer | Olga Kornievskaia <olga.kornievskaia@gmail.com> | 2019-10-09 18:06:19 +0200 |
commit | 0e65a32c8a569db363048e17a708b1a0913adbef (patch) | |
tree | b95285f447a3148dff7c286f99dc1e317ccc6872 /fs/nfs/nfs4_fs.h | |
parent | NFS handle NFS4ERR_PARTNER_NO_AUTH error (diff) | |
download | linux-0e65a32c8a569db363048e17a708b1a0913adbef.tar.xz linux-0e65a32c8a569db363048e17a708b1a0913adbef.zip |
NFS: handle source server reboot
When the source server reboots after a server-to-server copy was
issued, we need to retry the copy from COPY_NOTIFY. We need to
detect that the source server rebooted and there is a copy waiting
on a destination server and wake it up.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 814674f073a1..2122748f6f7c 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -168,6 +168,7 @@ enum { NFS_STATE_CHANGE_WAIT, /* A state changing operation is outstanding */ #ifdef CONFIG_NFS_V4_2 NFS_CLNT_DST_SSC_COPY_STATE, /* dst server open state on client*/ + NFS_CLNT_SRC_SSC_COPY_STATE, /* src server open state on client*/ NFS_SRV_SSC_COPY_STATE, /* ssc state on the dst server */ #endif /* CONFIG_NFS_V4_2 */ }; |