Skip to content
Snippets Groups Projects
Commit 2b21b443 authored by Alexey Lyashkov's avatar Alexey Lyashkov
Browse files

Not fail import if we got -EAGAIN in osc_interpret_create

b=13730
i=johann
i=green
parent 3f531bf6
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,14 @@ tbd Cluster File Systems, Inc. <info@clusterfs.com>
* Recommended e2fsprogs version: 1.40.2-cfs1
* Note that reiserfs quotas are disabled on SLES 10 in this kernel.
Severity : normal
Bugzilla : 13730
Description: Not fail import if we got -EAGAIN
Details : if osc_interpret_create got -EAGAIN his immediately exit and
wakeup oscc_waitq. After wakeup oscc_wait_for_objects call
oscc_has_objects and see osc has no objests and call
oscc_internal_create for resend create request.
Severity : normal
Bugzilla : 13521
Description: Update kernel patches for SLES10 2.6.16.53-0.8.
......
......@@ -81,6 +81,11 @@ static int osc_interpret_create(struct ptlrpc_request *req, void *data, int rc)
spin_unlock(&oscc->oscc_lock);
break;
}
case -EAGAIN:
/* valid race delorphan vs create, or somthing after resend */
spin_unlock(&oscc->oscc_lock);
DEBUG_REQ(D_INODE, req, "Got EGAIN - resend \n");
break;
case -ENOSPC:
case -EROFS: {
oscc->oscc_flags |= OSCC_FLAG_NOSPC;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment