pNFS/flexfiles: track when layout is first used
authorPeng Tao <tao.peng@primarydata.com>
Tue, 23 Jun 2015 11:52:00 +0000 (19:52 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 24 Jun 2015 14:53:10 +0000 (10:53 -0400)
commitd983803d3818a7aef3200147c72a45f573d84537
treec16ffa854654b17a7b6a19f618536e6c1a9f087c
parentabcb7bfc9fdecd1550b98a5e13d40bfba6c0649b
pNFS/flexfiles: track when layout is first used

So that we can report cumulative time since the beginning
of statistics collection of the layout.

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