]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs/flexfiles: add ff_layout_prepare_layoutstats
authorPeng Tao <tao.peng@primarydata.com>
Tue, 23 Jun 2015 11:52:01 +0000 (19:52 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 24 Jun 2015 14:53:11 +0000 (10:53 -0400)
commit4b2c3f0650b626f435cbc2cae924f3de83b5a361
tree911cb79b3c357f8058df5af8288039042f8c82a7
parent5081c3eb91c2f6ac7a44cce741e69ce67ba06914
pnfs/flexfiles: add ff_layout_prepare_layoutstats

It fills in the generic part of LAYOUTSTATS call. One thing to note
is that we don't really track if IO is continuous or not. So just fake
to use the completed bytes for it.

Still missing flexfiles specific part, which will be included in the next patch.

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