From 9e65fc369e299a3999c09c88873c72aa079ba20a Mon Sep 17 00:00:00 2001 From: bwzhou Date: Sun, 15 Jun 2008 16:25:36 +0000 Subject: [PATCH] Branch b1_8 b=13285 r=adilger, deen not to fail the import when -EFBIG is returned --- lustre/osc/osc_create.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/osc/osc_create.c b/lustre/osc/osc_create.c index 7273722..b82bf62 100644 --- a/lustre/osc/osc_create.c +++ b/lustre/osc/osc_create.c @@ -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; -- 1.8.3.1