From ed88a77c61f55c3b6b5de7640a9abb958cbc45de Mon Sep 17 00:00:00 2001 From: kalpak Date: Mon, 2 Feb 2009 08:59:35 +0000 Subject: [PATCH] b=17895 i=adilger i=alex While using HA for Lustre servers with Linux RAID, it is possible that MMP will not detect multiple mounts. To make this work we need to unplug the device queue in RAID when the MMP block is being written. Also while reading the MMP block, we should read it from disk and not the cached one. --- lustre/ChangeLog | 10 ++++++++++ lustre/kernel_patches/series/2.6-rhel4.series | 1 + lustre/kernel_patches/series/2.6-rhel5.series | 1 + lustre/kernel_patches/series/2.6-sles10.series | 1 + lustre/kernel_patches/series/2.6.22-vanilla.series | 1 + 5 files changed, 14 insertions(+) diff --git a/lustre/ChangeLog b/lustre/ChangeLog index b1ea7a7..76de16a 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -78,6 +78,16 @@ Details : MSG_CONNECT_INITIAL is not set on the initial MDS->OST connect. and the MDS export cannot be reused on the OSTs until it gets evicted. +Severity : major +Frequency : rare, only if using MMP with Linux RAID +Bugzilla : 17895 +Description: MMP doesn't work with Linux RAID +Details : While using HA for Lustre servers with Linux RAID, it is possible + that MMP will not detect multiple mounts. To make this work we + need to unplug the device queue in RAID when the MMP block is being + written. Also while reading the MMP block, we should read it from + disk and not the cached one. + ------------------------------------------------------------------------------- 2008-12-31 Sun Microsystems, Inc. * version 1.8.0 diff --git a/lustre/kernel_patches/series/2.6-rhel4.series b/lustre/kernel_patches/series/2.6-rhel4.series index 8cdcacb..6f7c5dd 100644 --- a/lustre/kernel_patches/series/2.6-rhel4.series +++ b/lustre/kernel_patches/series/2.6-rhel4.series @@ -39,3 +39,4 @@ quota-deadlock-on-pagelock-ext3.patch vfs-keep-inode-hashed-for-clear-inode.patch modpost_external_module_updates_rhel4.patch mpt-fusion-downgrade-to-3_02_73-rhel4.patch +md-mmp-unplug-dev-sles10.patch diff --git a/lustre/kernel_patches/series/2.6-rhel5.series b/lustre/kernel_patches/series/2.6-rhel5.series index c1bfc94..71e15ef 100644 --- a/lustre/kernel_patches/series/2.6-rhel5.series +++ b/lustre/kernel_patches/series/2.6-rhel5.series @@ -20,3 +20,4 @@ md-rebuild-policy.patch md-soft-lockups.patch jbd-journal-chksum-2.6.18-vanilla.patch quota-large-limits-rhel5.patch +md-mmp-unplug-dev.patch diff --git a/lustre/kernel_patches/series/2.6-sles10.series b/lustre/kernel_patches/series/2.6-sles10.series index f5b9a4d..f59d0ed 100644 --- a/lustre/kernel_patches/series/2.6-sles10.series +++ b/lustre/kernel_patches/series/2.6-sles10.series @@ -13,3 +13,4 @@ i_filter_data.patch quota-fix-oops-in-invalidate_dquots.patch fmode-exec-2.6-sles10.patch quota-large-limits-sles10.patch +md-mmp-unplug-dev-sles10.patch diff --git a/lustre/kernel_patches/series/2.6.22-vanilla.series b/lustre/kernel_patches/series/2.6.22-vanilla.series index 2d29ae1..b1f1b08 100644 --- a/lustre/kernel_patches/series/2.6.22-vanilla.series +++ b/lustre/kernel_patches/series/2.6.22-vanilla.series @@ -11,3 +11,4 @@ export-2.6.18-vanilla.patch export-show_task-2.6.18-vanilla.patch sd_iostats-2.6.22-vanilla.patch quota-large-limits-rhel5.patch +md-mmp-unplug-dev.patch -- 1.8.3.1