From 4d2a7fcf9d24f9a6d78115980378b340697b53dd Mon Sep 17 00:00:00 2001 From: yury Date: Wed, 1 Oct 2008 14:11:51 +0000 Subject: [PATCH] b=17194 r=adilger,oleg during abort recovery starts, stale export processing is slow --- lustre/obdclass/obd_config.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lustre/obdclass/obd_config.c b/lustre/obdclass/obd_config.c index ea69e93..6e55751 100644 --- a/lustre/obdclass/obd_config.c +++ b/lustre/obdclass/obd_config.c @@ -538,9 +538,7 @@ void class_decref(struct obd_device *obd) obd->obd_name, err); spin_lock(&obd->obd_self_export->exp_lock); - obd->obd_self_export->exp_flags |= - (obd->obd_fail ? OBD_OPT_FAILOVER : 0) | - (obd->obd_force ? OBD_OPT_FORCE : 0); + obd->obd_self_export->exp_flags |= exp_flags_from_obd(obd); spin_unlock(&obd->obd_self_export->exp_lock); /* note that we'll recurse into class_decref again */ -- 1.8.3.1