]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabde5c51511d5b2f71f83bddfac517a2a7c147db
tree20cdd3ae42fe5ed123c71fe0ce4b5b8787198c81
parentb898fe9548085ba66538bd3490e7cf57f8a1c17e
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