diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-25 02:39:18 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-25 20:40:08 +0200 |
commit | bbf58bf3488e41f346536aa89d62bdf2fe771128 (patch) | |
tree | c15f4869e0a3c5b4e1547260b555d863da12c0aa /fs/nfs/pnfs.h | |
parent | NFSv4.1/flexfile: Ensure uniqueness of mirrors across layout segments (diff) | |
download | linux-bbf58bf3488e41f346536aa89d62bdf2fe771128.tar.xz linux-bbf58bf3488e41f346536aa89d62bdf2fe771128.zip |
NFSv4.2/pnfs: Make the layoutstats timer configurable
Allow advanced users to set the layoutstats timer in order to lengthen
or shorten the period between layoutstat transmissions to the server.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r-- | fs/nfs/pnfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h index 02c27f93caf1..d3979dd1037a 100644 --- a/fs/nfs/pnfs.h +++ b/fs/nfs/pnfs.h @@ -528,12 +528,15 @@ pnfs_use_threshold(struct nfs4_threshold **dst, struct nfs4_threshold *src, nfss->pnfs_curr_ld->id == src->l_type); } +extern unsigned int layoutstats_timer; + #ifdef NFS_DEBUG void nfs4_print_deviceid(const struct nfs4_deviceid *dev_id); #else static inline void nfs4_print_deviceid(const struct nfs4_deviceid *dev_id) { } + #endif /* NFS_DEBUG */ #else /* CONFIG_NFS_V4_1 */ |