NFS: account direct-io into task io accounting
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Mon, 21 Feb 2011 21:28:34 +0000 (00:28 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 11 Mar 2011 20:39:27 +0000 (15:39 -0500)
commit7ec10f26e1fd5fcceb9c96e508c1292a816199f7
tree20cdd3ae42fe5ed123c71fe0ce4b5b8787198c81
parentf8628220bb395104697be9c447c1085846dfc97c
NFS: account direct-io into task io accounting

Account NFS direct-io reads and writes into Task I/O Accounting.
Do it before complition to handle aio.

NFS have unusual direct-io implementation,
thus accounting in generic code does not work.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/direct.c