]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfs: add support for read_iter, write_iter
authorDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 14 Jun 2013 20:54:23 +0000 (15:54 -0500)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Wed, 18 Sep 2013 15:16:32 +0000 (10:16 -0500)
commit4114235dad5e3cb80c8bf6f1d3c79b80ef7d6161
tree2460bf0f2d6ed1f76267f918789e4ef7f960d687
parent58d2e56ceb5d77c049dfe0925d79309ca1ab54cd
nfs: add support for read_iter, write_iter

This patch implements the read_iter and write_iter file operations which
allow kernel code to initiate directIO. This allows the loop device to
read and write directly to the server, bypassing the page cache.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: Zach Brown <zab@zabbo.net>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: linux-nfs@vger.kernel.org
fs/nfs/direct.c
fs/nfs/file.c
fs/nfs/internal.h
fs/nfs/nfs4file.c
include/linux/nfs_fs.h