]> git.hungrycats.org Git - linux/commit
pNFS/flexfiles: Fix layoutstat periodic reporting
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 14 Aug 2016 16:47:49 +0000 (12:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Oct 2016 13:21:25 +0000 (15:21 +0200)
commit2702f818f13614122deac7795c4dbb9c17f6be03
tree2b3e1a74d93af97e3b9cb26203c4231659277b24
parent8374aee399534e17955b7a468895beed5f87ba73
pNFS/flexfiles: Fix layoutstat periodic reporting

commit 1c8d477a77e2d1d3504419e7f2e02e6422becf9a upstream.

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...")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayout.h