From 24740bf5328274b4ffa0d1b42c01c6b91c0d4210 Mon Sep 17 00:00:00 2001 From: yangsheng Date: Thu, 7 Aug 2008 02:57:55 +0000 Subject: [PATCH] Branch b1_8_gate b=16342 i=adilger, shadow Don't update obd_osfs_age for osc using the cached info. --- lustre/include/obd_class.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/include/obd_class.h b/lustre/include/obd_class.h index 143530f1..e664617 100644 --- a/lustre/include/obd_class.h +++ b/lustre/include/obd_class.h @@ -820,6 +820,7 @@ static inline int obd_statfs_async(struct obd_device *obd, spin_lock(&obd->obd_osfs_lock); memcpy(oinfo->oi_osfs, &obd->obd_osfs, sizeof(*oinfo->oi_osfs)); spin_unlock(&obd->obd_osfs_lock); + oinfo->oi_flags |= OBD_STATFS_FROM_CACHE; if (oinfo->oi_cb_up) oinfo->oi_cb_up(oinfo, 0); } -- 1.8.3.1