Skip to content
Snippets Groups Projects
Commit b9af6ba8 authored by bwzhou's avatar bwzhou
Browse files

Branch b1_6

b=13285
r=adilger, deen

not to fail the import when -EFBIG is returned
parent 63fe853b
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,8 @@ static int osc_interpret_create(struct ptlrpc_request *req, void *data, int rc) ...@@ -87,7 +87,8 @@ static int osc_interpret_create(struct ptlrpc_request *req, void *data, int rc)
DEBUG_REQ(D_INODE, req, "Got EGAIN - resend \n"); DEBUG_REQ(D_INODE, req, "Got EGAIN - resend \n");
break; break;
case -ENOSPC: case -ENOSPC:
case -EROFS: { case -EROFS:
case -EFBIG: {
oscc->oscc_flags |= OSCC_FLAG_NOSPC; oscc->oscc_flags |= OSCC_FLAG_NOSPC;
if (body && rc == -ENOSPC) { if (body && rc == -ENOSPC) {
oscc->oscc_grow_count = OST_MIN_PRECREATE; oscc->oscc_grow_count = OST_MIN_PRECREATE;
......
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