summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorPeng Tao2014-11-10 01:35:34 +0100
committerTom Haynes2015-02-03 20:06:47 +0100
commit47af81f29556a45493e5c87289c3c16ce911096c (patch)
tree94817ece21bb4b4b2933579417cd2da47d71c684 /block
parentnfs41: add a debug warning if we destroy an unempty layout (diff)
downloadkernel-qcow2-linux-47af81f29556a45493e5c87289c3c16ce911096c.tar.gz
kernel-qcow2-linux-47af81f29556a45493e5c87289c3c16ce911096c.tar.xz
kernel-qcow2-linux-47af81f29556a45493e5c87289c3c16ce911096c.zip
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions