pnfs/flexfiles: report layoutstat regularly
authorPeng Tao <tao.peng@primarydata.com>
Tue, 23 Jun 2015 11:52:04 +0000 (19:52 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 24 Jun 2015 14:54:23 +0000 (10:54 -0400)
commit97ba375b5df43790aa82c256f7f16ee8eb95c272
treea80da1b7f734307f02766c3dee4b5fa0d0654b29
parent1bfe3b259ff2e579b2acb190f874397d53274497
pnfs/flexfiles: report layoutstat regularly

As a simple scheme, report every minute if IO is still going on.

Reviewed-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/flexfilelayout/flexfilelayout.h