summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorPeng Tao2015-01-19 05:41:16 +0100
committerTom Haynes2015-02-03 20:06:52 +0100
commit5fadeb47dcc5c30d4b6cf481b4a78689eab59443 (patch)
tree61144dbb7c04d5ddae49174c122ef1c686712b06 /security
parentnfs41: wait for LAYOUTRETURN before retrying LAYOUTGET (diff)
downloadkernel-qcow2-linux-5fadeb47dcc5c30d4b6cf481b4a78689eab59443.tar.gz
kernel-qcow2-linux-5fadeb47dcc5c30d4b6cf481b4a78689eab59443.tar.xz
kernel-qcow2-linux-5fadeb47dcc5c30d4b6cf481b4a78689eab59443.zip
nfs: count DIO good bytes correctly with mirroring
When resending to MDS, we might resend multiple mirroring requests to MDS. As a result, nfs_direct_good_bytes() ends up counting bytes multiple times, causing application to get wrong return results in read/write syscalls. Fix it by tracking start of a dreq and checking the range of pgio header. Cc: Weston Andros Adamson <dros@primarydata.com> Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions