aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/nfs/nfsclstate.h
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2010-10-26 23:18:37 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2010-10-26 23:18:37 +0000
commitc5dd9d8c373a98ba91321b62e6f392f743ba8097 (patch)
treed27eef19021795e2ff76d70e18d02fadc99cb866 /sys/fs/nfs/nfsclstate.h
parent240dd5b5aa458c59b806f84919126550918bec49 (diff)
downloadsrc-c5dd9d8c373a98ba91321b62e6f392f743ba8097.tar.gz
src-c5dd9d8c373a98ba91321b62e6f392f743ba8097.zip
Add a flag to the experimental NFSv4 client to indicate when
delegations are being returned for reasons other than a Recall. Also, re-organize nfscl_recalldeleg() slightly, so that it leaves clearing NMODIFIED to the ncl_flush() call and invalidates the attribute cache after flushing. It is hoped that these changes might fix the problem others have seen when using the NFSv4 client with delegations enabled, since I can't reliably reproduce the problem. These changes only affect the client when doing NFSv4 mounts with delegations enabled. MFC after: 10 days
Notes
Notes: svn path=/head/; revision=214406
Diffstat (limited to 'sys/fs/nfs/nfsclstate.h')
-rw-r--r--sys/fs/nfs/nfsclstate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/nfs/nfsclstate.h b/sys/fs/nfs/nfsclstate.h
index 72d8eebfc395..bb462203753f 100644
--- a/sys/fs/nfs/nfsclstate.h
+++ b/sys/fs/nfs/nfsclstate.h
@@ -118,6 +118,7 @@ struct nfscldeleg {
#define NFSCLDL_NEEDRECLAIM 0x08
#define NFSCLDL_ZAPPED 0x10
#define NFSCLDL_MODTIMESET 0x20
+#define NFSCLDL_DELEGRET 0x40
/*
* MALLOC'd to the correct length to accommodate the file handle.