nfs: track whether server sets MAY_NOTIFY_LOCK flag
authorJeff Layton <jlayton@redhat.com>
Sat, 17 Sep 2016 22:17:35 +0000 (18:17 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 22 Sep 2016 17:56:04 +0000 (13:56 -0400)
commita8ce377a5db8d32b08c3bcc1c5d70cad64a0b21d
tree3077aedc24f3213c32028850772890ce1cf94563
parenteed7c4143dd993ef380340af64b8f2e7a79102c8
nfs: track whether server sets MAY_NOTIFY_LOCK flag

We want to handle the two cases differently, such that we poll more
aggressively when we don't expect a callback.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c