]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfs: add support for read_iter, write_iter
authorDave Kleikamp <dave.kleikamp@oracle.com>
Tue, 15 Oct 2013 18:44:39 +0000 (13:44 -0500)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 18 Oct 2013 15:56:50 +0000 (10:56 -0500)
commit1a12f00113b68680f82a3818a701ec36549eb16e
tree9aa74414ebbc58ce09e447f2e8542bcc6ab2bbfb
parent95ff5d88b8267bc408559f8e7d682e0e855b18fa
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