]> 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)
commit9aaae62a1bd96d8cea7ede87041e76784191024b
tree911cb79b3c357f8058df5af8288039042f8c82a7
parentb64960c4302fcb4ae6b6e09b9040b65a1c44b4bc
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