diff options
author | Jeff Layton <jlayton@poochiereds.net> | 2016-05-17 12:28:46 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-05-17 15:48:12 -0400 |
commit | 83026d80a16ea6a4e4f06a994fc7831b1d8d6375 (patch) | |
tree | 7401207007bbce340734048cc65dbd1ec4977606 /Documentation/devicetree | |
parent | d03ab29dbbe905c6c7c5abd78e02547fa954ec07 (diff) |
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 <jeff.layton@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions