Whamcloud - gitweb
Enable async journal commit & cancel lock before replay features by default
authorjohann <johann@sun.com>
Fri, 18 Dec 2009 11:08:29 +0000 (12:08 +0100)
committerjohann <johann@granier.local>
Fri, 18 Dec 2009 11:08:29 +0000 (12:08 +0100)
Although async journal commit (bug 19128) and cancel
lock before replay (16774) will be disabled by default
in 1.8.2, i would like to run the daily tests with
those features enabled for a couple of days.

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

index 81cb983..a8d6479 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 = 0;
+unsigned int ldlm_cancel_unused_locks_before_replay = 1;
 
 static void interrupted_completion_wait(void *data)
 {
index 9e64f7d..722bc7a 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 = 1; /* Sync journals on i/o by default b=19128 */
+       filter->fo_syncjournal = 0; /* Don't sync journals on i/o by default */
 
         rc = filter_prep(obd);
         if (rc)