]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfs: simplify swap
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)
commit1063cee221286d770165ac045ba5ed877f6120e8
treef0208885d4ccfa9f55a4d4ec6d7a028c0fc5f73d
parent1a12f00113b68680f82a3818a701ec36549eb16e
nfs: simplify swap

swap_writepage can now call nfs's write_iter f_op, eliminating the need to
implement for the special-case direct_IO a_op. There is no longer a need to
pass the uio flag through the direct write path.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Acked-by: Rik van Riel <riel@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: linux-nfs@vger.kernel.org
fs/nfs/direct.c
fs/nfs/file.c
include/linux/blk_types.h
include/linux/fs.h
include/linux/nfs_fs.h
mm/page_io.c