summaryrefslogtreecommitdiffstats
path: root/lib/iomap.c
diff options
context:
space:
mode:
authorChristoph Hellwig2014-04-16 15:07:21 +0200
committerTrond Myklebust2014-05-28 23:48:38 +0200
commita20c93e3160e37ecccc738d8eef085c8507949ed (patch)
tree22f179b47930f42ae8e1a8ac12d70f1aeee1b071 /lib/iomap.c
parentnfs: commit layouts in fdatasync (diff)
downloadkernel-qcow2-linux-a20c93e3160e37ecccc738d8eef085c8507949ed.tar.gz
kernel-qcow2-linux-a20c93e3160e37ecccc738d8eef085c8507949ed.tar.xz
kernel-qcow2-linux-a20c93e3160e37ecccc738d8eef085c8507949ed.zip
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 'lib/iomap.c')
0 files changed, 0 insertions, 0 deletions