nfs: add mirroring support to pgio layer
authorWeston Andros Adamson <dros@primarydata.com>
Fri, 19 Sep 2014 14:55:07 +0000 (10:55 -0400)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:45 +0000 (11:06 -0800)
commita7d42ddb3099727f58366fa006f850a219cce6c8
treec794857eb5c3ca29f77e259ecd3c155f841134d1
parentb57ff1303a2d4d1484c7a82bd80a3e014d6cdf5e
nfs: add mirroring support to pgio layer

This patch adds mirrored write support to the pgio layer. The default
is to use one mirror, but pgio callers may define callbacks to change
this to any value up to the (arbitrarily selected) limit of 16.

The basic idea is to break out members of nfs_pageio_descriptor that cannot
be shared between mirrored DSes and put them in a new structure.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
fs/nfs/direct.c
fs/nfs/internal.h
fs/nfs/objlayout/objio_osd.c
fs/nfs/pagelist.c
fs/nfs/pnfs.c
fs/nfs/read.c
fs/nfs/write.c
include/linux/nfs_page.h
include/linux/nfs_xdr.h