]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfs: simplify swap
authorDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 14 Jun 2013 20:54:24 +0000 (15:54 -0500)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 9 Aug 2013 21:43:40 +0000 (16:43 -0500)
commit072d62aa3a8328add3913a89737eb75c119a1d29
treef4f63be652ab652a0435e9fadc4616b8b82e93ac
parent8d20d3cdac2922b63dd8ab1454e33d10b730d018
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