Whamcloud - gitweb
LU-5651: ptlrpc: fix import state during replay
[fs/lustre-release.git] / lustre / include / lustre_import.h
index b5649cf..252157f 100644 (file)
@@ -223,6 +223,8 @@ struct obd_import {
        atomic_t                  imp_timeouts;
        /** Current import state */
         enum lustre_imp_state     imp_state;
+       /** Last replay state */
+       enum lustre_imp_state     imp_replay_state;
         /** History of import states */
         struct import_state_hist  imp_state_hist[IMP_STATE_HIST_LEN];
         int                       imp_state_hist_idx;