pNFS/flexfiles: Fix layoutstat periodic reporting
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 14 Aug 2016 16:47:49 +0000 (12:47 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 15 Aug 2016 03:01:10 +0000 (23:01 -0400)
commit1c8d477a77e2d1d3504419e7f2e02e6422becf9a
tree6c9bdd61be0facb6c1d17c61e4bc8d81131af9d9
parent694d0d0bb2030d2e36df73e2d23d5770511dbc8d
pNFS/flexfiles: Fix layoutstat periodic reporting

Putting the periodicity timer in the mirror instances is causing
non-scalable reporting behaviour and missed reporting intervals.
When you recall layouts and/or implement client side mirroring, it
leads to consecutive reports with only a few ms between RPC calls.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Fixes: d0379a5d066a9 ("pNFS/flexfiles: Support server-supplied...")
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayout.h