diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-11-16 16:26:07 (GMT) |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-12-28 19:32:36 (GMT) |
commit | d0379a5d066a998b0210a81dc52e266ce4daaa36 (patch) | |
tree | a9fb1afb9c9c82db118e14860070b8241c03bda9 /fs/nfs/flexfilelayout/flexfilelayout.h | |
parent | f4848303ce125999886535323a64db26dba68293 (diff) | |
download | linux-d0379a5d066a998b0210a81dc52e266ce4daaa36.tar.xz |
pNFS/flexfiles: Support server-supplied layoutstats sampling period
Some servers want to be able to control the frequency with which clients
report layoutstats, for instance, in order to monitor QoS for a particular
file or set of file. In order to support this, the flexfiles layout allows
the server to pass this info as a hint in the layout payload.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/flexfilelayout/flexfilelayout.h')
-rw-r--r-- | fs/nfs/flexfilelayout/flexfilelayout.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/flexfilelayout/flexfilelayout.h b/fs/nfs/flexfilelayout/flexfilelayout.h index 2bb08bc..dd353bb 100644 --- a/fs/nfs/flexfilelayout/flexfilelayout.h +++ b/fs/nfs/flexfilelayout/flexfilelayout.h @@ -85,6 +85,7 @@ struct nfs4_ff_layout_mirror { struct nfs4_ff_layoutstat write_stat; ktime_t start_time; ktime_t last_report_time; + u32 report_interval; }; struct nfs4_ff_layout_segment { |