From d7bdeb27b53b12f8c567fa220f82e1ca2a10a470 Mon Sep 17 00:00:00 2001 From: johann Date: Fri, 18 Dec 2009 12:08:29 +0100 Subject: [PATCH] Enable async journal commit & cancel lock before replay features by default 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 | 2 +- lustre/obdfilter/filter.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/ldlm/ldlm_request.c b/lustre/ldlm/ldlm_request.c index 81cb983..a8d6479 100644 --- a/lustre/ldlm/ldlm_request.c +++ b/lustre/ldlm/ldlm_request.c @@ -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) { diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 9e64f7d..722bc7a 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -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) -- 1.8.3.1