diff options
author | Christoph Hellwig <hch@lst.de> | 2014-04-16 09:07:21 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-05-28 17:48:38 -0400 |
commit | a20c93e3160e37ecccc738d8eef085c8507949ed (patch) | |
tree | 22f179b47930f42ae8e1a8ac12d70f1aeee1b071 /fs/nfs/nfs3proc.c | |
parent | 1b33809ea8c671ccbceeaaa8d842631b441bed54 (diff) |
nfs: remove ->write_pageio_init from rpc ops
The write_pageio_init method is just a very convoluted way to grab the
right nfs_pageio_ops vector. The vector to chose is not a choice of
protocol version, but just a pNFS vs MDS I/O choice that can simply be
done inside nfs_pageio_init_write based on the presence of a layout
driver, and a new force_mds flag to the special case of falling back
to MDS I/O on a pNFS-capable volume.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs3proc.c')
-rw-r--r-- | fs/nfs/nfs3proc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c index db60149c4579..e98488053906 100644 --- a/fs/nfs/nfs3proc.c +++ b/fs/nfs/nfs3proc.c | |||
@@ -951,7 +951,6 @@ const struct nfs_rpc_ops nfs_v3_clientops = { | |||
951 | .read_rpc_prepare = nfs3_proc_read_rpc_prepare, | 951 | .read_rpc_prepare = nfs3_proc_read_rpc_prepare, |
952 | .read_done = nfs3_read_done, | 952 | .read_done = nfs3_read_done, |
953 | .write_setup = nfs3_proc_write_setup, | 953 | .write_setup = nfs3_proc_write_setup, |
954 | .write_pageio_init = nfs_pageio_init_write, | ||
955 | .write_rpc_prepare = nfs3_proc_write_rpc_prepare, | 954 | .write_rpc_prepare = nfs3_proc_write_rpc_prepare, |
956 | .write_done = nfs3_write_done, | 955 | .write_done = nfs3_write_done, |
957 | .commit_setup = nfs3_proc_commit_setup, | 956 | .commit_setup = nfs3_proc_commit_setup, |