NFSv4.1: Allow getdeviceinfo to return notification info back to caller
We are only allowed to cache deviceinfo if the server supports notifications and actually promises to call us back when changes occur. Right now, we request those notifications, but then we don't check the server's reply. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
parent
fb1458f457
commit
4e59080397
3 changed files with 12 additions and 9 deletions
|
@ -255,11 +255,13 @@ struct nfs4_layoutget {
|
|||
struct nfs4_getdeviceinfo_args {
|
||||
struct nfs4_sequence_args seq_args;
|
||||
struct pnfs_device *pdev;
|
||||
__u32 notify_types;
|
||||
};
|
||||
|
||||
struct nfs4_getdeviceinfo_res {
|
||||
struct nfs4_sequence_res seq_res;
|
||||
struct pnfs_device *pdev;
|
||||
__u32 notification;
|
||||
};
|
||||
|
||||
struct nfs4_layoutcommit_args {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue