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>
This commit is contained in:

committed by
Olga Kornievskaia

parent
fefa1a812a
commit
0e65a32c8a
@@ -189,13 +189,15 @@ struct nfs_inode {
|
||||
|
||||
struct nfs4_copy_state {
|
||||
struct list_head copies;
|
||||
struct list_head src_copies;
|
||||
nfs4_stateid stateid;
|
||||
struct completion completion;
|
||||
uint64_t count;
|
||||
struct nfs_writeverf verf;
|
||||
int error;
|
||||
int flags;
|
||||
struct nfs4_state *parent_state;
|
||||
struct nfs4_state *parent_src_state;
|
||||
struct nfs4_state *parent_dst_state;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user