commit | 47af81f29556a45493e5c87289c3c16ce911096c | [log] [tgz] |
---|---|---|
author | Peng Tao <tao.peng@primarydata.com> | Mon Nov 10 08:35:34 2014 +0800 |
committer | Tom Haynes <loghyr@primarydata.com> | Tue Feb 03 11:06:47 2015 -0800 |
tree | 94817ece21bb4b4b2933579417cd2da47d71c684 | |
parent | 566f8737630390b743d79e26e4ac855fe2758129 [diff] |
nfs: only reset desc->pg_mirror_idx when mirroring is supported so that we don't reset desc->pg_mirror_idx for read unnecessarily. Remove WARN_ON_ONCE from __nfs_pageio_add_request to allow LD to set pg_mirror_idx for read where pg_mirror_count is always 1. Signed-off-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Tom Haynes <loghyr@primarydata.com>