Skip to content

Commit

Permalink
pNFS: Treat RECALLCONFLICT like DELAY...
Browse files Browse the repository at this point in the history
Yes, it is possible to get trapped in a loop, but the server should be
administratively revoking the recalled layout if it never gets returned.

Signed-off-by: Trond Myklebust <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
  • Loading branch information
trondmy authored and amschuma-ntap committed Aug 16, 2018
1 parent ecf8402 commit ea51f94
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions fs/nfs/pnfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1982,15 +1982,6 @@ pnfs_update_layout(struct inode *ino,
lseg = NULL;
break;
case -ERECALLCONFLICT:
/* Huh? We hold no layouts, how is there a recall? */
if (first) {
lseg = NULL;
break;
}
/* Destroy the existing layout and start over */
if (time_after(jiffies, giveup))
pnfs_destroy_layout(NFS_I(ino));
/* Fallthrough */
case -EAGAIN:
break;
default:
Expand Down

0 comments on commit ea51f94

Please sign in to comment.