From: yury Date: Wed, 1 Oct 2008 14:11:16 +0000 (+0000) Subject: b=17194 X-Git-Tag: v1_7_110~1^103 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=9b213bc208d8b73a393f3d2c620b88104203dd9d;p=fs%2Flustre-release.git b=17194 r=adilger,oleg during abort recovery starts, stale export processing is slow --- diff --git a/lustre/include/lustre_export.h b/lustre/include/lustre_export.h index 48d8a88..3ca706f 100644 --- a/lustre/include/lustre_export.h +++ b/lustre/include/lustre_export.h @@ -113,6 +113,12 @@ typedef struct nid_stat { int nid_exp_ref_count; } nid_stat_t; +enum obd_option { + OBD_OPT_FORCE = 0x0001, + OBD_OPT_FAILOVER = 0x0002, + OBD_OPT_ABORT_RECOV = 0x0004, +}; + struct obd_export { struct portals_handle exp_handle; atomic_t exp_refcount; @@ -140,7 +146,7 @@ struct obd_export { spinlock_t exp_lock; /* protects flags int below */ /* ^ protects exp_outstanding_replies too */ __u64 exp_connect_flags; - int exp_flags; + enum obd_option exp_flags; unsigned long exp_failed:1, exp_in_recovery:1, exp_disconnected:1,