Whamcloud - gitweb
Disable async journal commit & cancel lock before replay features by default
authorJohann Lombardi <johann@sun.com>
Fri, 8 Jan 2010 22:44:03 +0000 (23:44 +0100)
committerJohann Lombardi <johann@sun.com>
Fri, 8 Jan 2010 22:44:03 +0000 (23:44 +0100)
This reverts commit d7bdeb27b53b12f8c567fa220f82e1ca2a10a470.

lustre/ldlm/ldlm_request.c
lustre/obdfilter/filter.c

index a8d6479..81cb983 100644 (file)
@@ -51,7 +51,7 @@ CFS_MODULE_PARM(ldlm_enqueue_min, "i", int, 0644,
                 "lock enqueue timeout minimum");
 
 /* in client side, whether the cached locks will be canceled before replay */
-unsigned int ldlm_cancel_unused_locks_before_replay = 1;
+unsigned int ldlm_cancel_unused_locks_before_replay = 0;
 
 static void interrupted_completion_wait(void *data)
 {
index 24f370c..8c5c914 100644 (file)
@@ -1965,7 +1965,7 @@ int filter_common_setup(struct obd_device *obd, obd_count len, void *buf,
         filter->fo_readcache_max_filesize = FILTER_MAX_CACHE_SIZE;
         filter->fo_fmd_max_num = FILTER_FMD_MAX_NUM_DEFAULT;
         filter->fo_fmd_max_age = FILTER_FMD_MAX_AGE_DEFAULT;
-       filter->fo_syncjournal = 0; /* Don't sync journals on i/o by default */
+        filter->fo_syncjournal = 1; /* Sync journals on i/o by default b=19128 */
 
         rc = filter_prep(obd);
         if (rc)