aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@primarydata.com>2016-04-01 11:42:28 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-05-09 09:05:40 -0400
commit1b1bc66bb4ebd737fb750b0e1afc753098f4a1b2 (patch)
tree4c2c2175fadbc45eb3c02ba89e55bec893768686 /include/linux/nfs_xdr.h
parentLinux 4.6-rc7 (diff)
downloadlinux-dev-1b1bc66bb4ebd737fb750b0e1afc753098f4a1b2.tar.xz
linux-dev-1b1bc66bb4ebd737fb750b0e1afc753098f4a1b2.zip
pnfs: set NFS_IOHDR_REDO in pnfs_read_resend_pnfs
Like other resend paths, mark the (old) hdr as NFS_IOHDR_REDO. This ensures the hdr completion function will not count the (old) hdr as good bytes. Also, vector the error back through the hdr->task.tk_status like other retry calls. This fixes a bug with the FlexFiles layout where libaio was reporting more bytes read than requested. Signed-off-by: Weston Andros Adamson <dros@primarydata.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
0 files changed, 0 insertions, 0 deletions