aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2016-05-17 16:28:46 +0000
committerAnna Schumaker <[email protected]>2016-05-17 19:48:12 +0000
commit83026d80a16ea6a4e4f06a994fc7831b1d8d6375 (patch)
tree7401207007bbce340734048cc65dbd1ec4977606 /lib/dma-debug.c
parentpnfs: fix bad error handling in send_layoutget (diff)
downloadkernel-83026d80a16ea6a4e4f06a994fc7831b1d8d6375.tar.gz
kernel-83026d80a16ea6a4e4f06a994fc7831b1d8d6375.zip
pnfs: lift retry logic from send_layoutget to pnfs_update_layout
If we get back something like NFS4ERR_OLD_STATEID, that will be translated into -EAGAIN, and the do/while loop in send_layoutget will drive the call again. This is not quite what we want, I think. An error like that is a sign that something has changed. That something could have been a concurrent LAYOUTGET that would give us a usable lseg. Lift the retry logic into pnfs_update_layout instead. That allows us to redo the layout search, and may spare us from having to issue an RPC. Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions