summaryrefslogtreecommitdiffstats
path: root/fs/nfs/delegation.h
diff options
context:
space:
mode:
authorTrond Myklebust2015-09-06 01:06:57 +0200
committerTrond Myklebust2015-09-07 18:36:13 +0200
commit7d160a6c462c2c690e074c173b43aad7204049ad (patch)
tree6967b9cffa27592690259622031e87e27919d61b /fs/nfs/delegation.h
parentRevert "NFS: Make close(2) asynchronous when closing NFS O_DIRECT files" (diff)
downloadkernel-qcow2-linux-7d160a6c462c2c690e074c173b43aad7204049ad.tar.gz
kernel-qcow2-linux-7d160a6c462c2c690e074c173b43aad7204049ad.tar.xz
kernel-qcow2-linux-7d160a6c462c2c690e074c173b43aad7204049ad.zip
NFSv4: Express delegation limit in units of pages
Since we're tracking modifications to the page cache on a per-page basis, it makes sense to express the limit to how much we may cache in units of pages. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/delegation.h')
-rw-r--r--fs/nfs/delegation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/delegation.h b/fs/nfs/delegation.h
index e3c20a3ccc93..554178a17376 100644
--- a/fs/nfs/delegation.h
+++ b/fs/nfs/delegation.h
@@ -18,7 +18,7 @@ struct nfs_delegation {
struct inode *inode;
nfs4_stateid stateid;
fmode_t type;
- loff_t maxsize;
+ unsigned long pagemod_limit;
__u64 change_attr;
unsigned long flags;
spinlock_t lock;