commit | 63e2fffa59a9dd91e443b08832656399fd80b7f0 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Sun Nov 15 17:37:37 2020 -0500 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Mon Nov 30 10:52:22 2020 -0500 |
tree | c63da5c4966c08dcfa790cd401bcbc83cf1ee143 | |
parent | b65054597872ce3aefbc6a666385eabdf9e288da [diff] |
pNFS/flexfiles: Fix array overflow when flexfiles mirroring is enabled If the flexfiles mirroring is enabled, then the read code expects to be able to set pgio->pg_mirror_idx to point to the data server that is being used for this particular read. However it does not change the pg_mirror_count because we only need to send a single read. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>