From 54db3801044d06a10dca1cc20536f86d6e85d688 Mon Sep 17 00:00:00 2001 From: shaver Date: Thu, 23 Oct 2003 20:11:34 +0000 Subject: [PATCH] b=2150: handle ENOSPC encountered during precreation r=zab --- lustre/llite/llite_lib.c | 2 -- lustre/osc/osc_internal.h | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 15ea2f2..8723689 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -183,8 +183,6 @@ int ll_process_log(char *mds, char *config, struct config_llog_instance *cfg) err = class_process_config(&lcfg); if (err < 0) GOTO(out, err); - - out: if (rc == 0) rc = err; diff --git a/lustre/osc/osc_internal.h b/lustre/osc/osc_internal.h index 0551d60..f0a66fa 100644 --- a/lustre/osc/osc_internal.h +++ b/lustre/osc/osc_internal.h @@ -36,6 +36,10 @@ struct osc_async_page { void *oap_caller_data; }; +#define OSCC_FLAG_RECOVERING 1 +#define OSCC_FLAG_CREATING 2 +#define OSCC_FLAG_NOSPC 4 /* can't create more objects on this OST */ + int osc_create(struct obd_export *exp, struct obdo *oa, struct lov_stripe_md **ea, struct obd_trans_info *oti); int osc_real_create(struct obd_export *exp, struct obdo *oa, -- 1.8.3.1