Whamcloud - gitweb
Branch b1_8
authorbwzhou <bwzhou>
Sun, 15 Jun 2008 16:25:36 +0000 (16:25 +0000)
committerbwzhou <bwzhou>
Sun, 15 Jun 2008 16:25:36 +0000 (16:25 +0000)
b=13285
r=adilger, deen

not to fail the import when -EFBIG is returned

lustre/osc/osc_create.c

index 7273722..b82bf62 100644 (file)
@@ -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");
                 break;
         case -ENOSPC:
-        case -EROFS: {
+        case -EROFS: 
+        case -EFBIG: {
                 oscc->oscc_flags |= OSCC_FLAG_NOSPC;
                 if (body && rc == -ENOSPC) {
                         oscc->oscc_grow_count = OST_MIN_PRECREATE;