pNFS/flexfiles: Only send layoutstats updates for mirrors that were updated
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 25 Nov 2016 18:17:15 +0000 (13:17 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 2 Dec 2016 16:42:58 +0000 (11:42 -0500)
commit06946c6a3d8b511a65e4f8b1f44dfd01e37f752d
tree960f57144942846c44bb398a4151954685fb8b12
parent46c98c6d1bd33f8ae2c3b8f379f1629c472141e3
pNFS/flexfiles: Only send layoutstats updates for mirrors that were updated

If there have been no reads or writes to a given mirror since the last
layoutstats update, then don't resend the same data.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayout.h