pNFS/flexfiles: Support server-supplied layoutstats sampling period
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 16 Nov 2015 16:26:07 +0000 (11:26 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 19:32:36 +0000 (14:32 -0500)
commitd0379a5d066a998b0210a81dc52e266ce4daaa36
treea9fb1afb9c9c82db118e14860070b8241c03bda9
parentf4848303ce125999886535323a64db26dba68293
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>
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayout.h