From e1afd01f321a434650d4cf0a25913d9c8e0e410e Mon Sep 17 00:00:00 2001 From: johann Date: Wed, 22 Apr 2009 16:22:25 +0000 Subject: [PATCH] Branch b_release_1_8_0 b=19128 i=tappro i=adilger disable async journal commit on bulk write feature because of recovery issues. --- lustre/ChangeLog | 35 +++++------------------------------ lustre/obdfilter/filter.c | 2 +- 2 files changed, 6 insertions(+), 31 deletions(-) diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 43292b5..17072e8 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -1,42 +1,13 @@ 2009-03-20 Sun Microsystems, Inc. * version 1.8.0 * Support for kernels: - 2.6.5-7.314 (SLES 9), - 2.6.9-67.0.22.EL (RHEL 4), 2.6.16.60-0.31 (SLES 10), 2.6.18-92.1.17.el5 (RHEL 5), 2.6.22.14 vanilla (kernel.org) * Client support for unpatched kernels: (see http://wiki.lustre.org/index.php?title=Patchless_Client) 2.6.16 - 2.6.22 vanilla (kernel.org) - * Client support for unpatched kernels: - we do not recommend using patchless RHEL4 clients with kernels - prior to 2.6.9-55EL (RHEL4U5). * Recommended e2fsprogs version: 1.40.11-sun1 - * Note that reiserfs quotas are disabled on SLES 10 in this kernel. - * RHEL 4 and RHEL 5/SLES 10 clients behaves differently on 'cd' to a - removed cwd "./" (refer to Bugzilla 14399). - * A new quota file format has been introduced in 1.6.5. - The format conversion from prior releases is handled transparently, - but releases older than 1.4.12/1.6.5 don't understand this new - format. The automatic format conversion can be avoided by running - the following command on the MDS: - 'tunefs.lustre --param="mdt.quota_type=ug1" $MDTDEV'. - For more information, please refer to bugzilla 13904. - * A new quota file format was introduced in 1.6.6/1.8.0. - The format conversion from prior releases is handled transparently, - but releases older than 1.6.6/1.8.0 don't understand this new - format. The automatic format conversion can be avoided by running - the following commands on the MDS and OSS servers (for - pre 1.4.12-1.6.5 quota files): - 'tunefs.lustre --param="mdt.quota_type=ug1" $MDTDEV', - 'tunefs.lustre --param="ost.quota_type=ug1" $MDTDEV' - or (for 1.4.12/1.6.5 quota files) - 'tunefs.lustre --param="mdt.quota_type=ug2" $MDTDEV', - 'tunefs.lustre --param="ost.quota_type=ug2" $MDTDEV' - For more information, please refer to bugzilla 13904. - * Output of lfs quota has been made less detailed by default, - old (verbose) output can be obtained by using -v option. * File join has been disabled in this release, refer to Bugzilla 16929. * A new Lustre ADIO driver is available for MPICH2-1.0.7. * NFS export disabled when stack size < 8192. Since the NFSv4 export of @@ -856,7 +827,11 @@ Severity : enhancement Bugzilla : 16919 Descriptoin: Don't sync journal after every i/o Details : Implement write RPC replay to allow server replies for write RPCs - before data is on disk. + before data is on disk. However, this feature is disabled by + default since some issues leading to data corruptions have been + found during recovery (e.g. bug 19128). This feature can be enabled + by running the following command on the OSSs: + lctl set_param obdfilter.*.sync_journal=0 Severity : low Bugzilla : 18016 diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 2c46ea2..3a7326e 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -1941,7 +1941,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) -- 1.8.3.1