Skip to content

Commit ea51f94

Browse files
trondmyamschuma-ntap
authored andcommitted
pNFS: Treat RECALLCONFLICT like DELAY...
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 <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
1 parent ecf8402 commit ea51f94

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

fs/nfs/pnfs.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1982,15 +1982,6 @@ pnfs_update_layout(struct inode *ino,
19821982
lseg = NULL;
19831983
break;
19841984
case -ERECALLCONFLICT:
1985-
/* Huh? We hold no layouts, how is there a recall? */
1986-
if (first) {
1987-
lseg = NULL;
1988-
break;
1989-
}
1990-
/* Destroy the existing layout and start over */
1991-
if (time_after(jiffies, giveup))
1992-
pnfs_destroy_layout(NFS_I(ino));
1993-
/* Fallthrough */
19941985
case -EAGAIN:
19951986
break;
19961987
default:

0 commit comments

Comments
 (0)