Whamcloud - gitweb
Revert "LU-7815 mdt: pinger should not evict MDT-MDT export"
authorOleg Drokin <oleg.drokin@intel.com>
Wed, 9 Mar 2016 04:26:23 +0000 (23:26 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 9 Mar 2016 04:26:23 +0000 (23:26 -0500)
This is causing LU-7847

This reverts commit 6165f883ecafb06abf734f6c0069e03789572852.

lustre/mdt/mdt_handler.c

index 82d6623..9ffd9c7 100644 (file)
@@ -5210,13 +5210,6 @@ out:
                *exp = NULL;
        } else {
                *exp = lexp;
-               /* Because we do not want this export to be evicted by pinger,
-                * let's not add this export to the timed chain list. */
-               if (data->ocd_connect_flags & OBD_CONNECT_MDS_MDS) {
-                       spin_lock(&lexp->exp_obd->obd_dev_lock);
-                       list_del_init(&lexp->exp_obd_chain_timed);
-                       spin_unlock(&lexp->exp_obd->obd_dev_lock);
-               }
        }
 
        RETURN(rc);