X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_import.h;h=7a5c7613d0e6672d0b0ac00ca4d7da6ea5e54b28;hb=c1f6b32958c799412c830f35f8d16ed7275407ea;hp=b9dcf857cb267224ea8cdfea9f1c9616ce2291f3;hpb=d2d56f38da01001c92a09afc6b52b5acbd9bc13c;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_import.h b/lustre/include/lustre_import.h index b9dcf85..7a5c761 100644 --- a/lustre/include/lustre_import.h +++ b/lustre/include/lustre_import.h @@ -66,10 +66,13 @@ struct obd_import { struct obd_device *imp_obd; struct ptlrpc_sec *imp_sec; + struct semaphore imp_sec_mutex; + cfs_time_t imp_sec_expire; cfs_waitq_t imp_recovery_waitq; atomic_t imp_inflight; atomic_t imp_replay_inflight; + atomic_t imp_inval_count; enum lustre_imp_state imp_state; int imp_generation; __u32 imp_conn_cnt; @@ -80,7 +83,6 @@ struct obd_import { struct lustre_handle imp_remote_handle; cfs_time_t imp_next_ping; /* jiffies */ __u64 imp_last_success_conn; /* jiffies, 64-bit */ - cfs_time_t imp_next_reconnect; /* seconds */ /* all available obd_import_conn linked here */ struct list_head imp_conn_list; @@ -90,7 +92,7 @@ struct obd_import { spinlock_t imp_lock; /* flags */ - unsigned int imp_no_timeout:1, /* timeouts are disabled */ + unsigned long imp_no_timeout:1, /* timeouts are disabled */ imp_invalid:1, /* evicted */ imp_deactive:1, /* administratively disabled */ imp_replayable:1, /* try to recover the import */