]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit37330d126b0e76cb588c38e9a0362b2bc6428914
tree6c9bdd61be0facb6c1d17c61e4bc8d81131af9d9
parent92eda0ff5e2879da54cd299e1946d13cb37b1706
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: 4f0e0410b5ba9 ("pNFS/flexfiles: Support server-supplied...")
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayout.h