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)
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

diff --cc fs/nfs/direct.c
Simple merge