From: yangsheng Date: Mon, 11 May 2009 03:55:52 +0000 (+0000) Subject: Branch b_release_1_8_1 X-Git-Tag: v1_8_0_110~32 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=3073c8eaac3a3139d257f0f6b4bacb2de6268877;p=fs%2Flustre-release.git Branch b_release_1_8_1 b=18668 i=adilger, johann Remove the 8kstack patch. --- diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index f5facd4..bff3962 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -1586,6 +1586,22 @@ LB_LINUX_TRY_COMPILE([ ]) ]) +# Ensure stack size big than 8k in Lustre server +AC_DEFUN([LC_STACK_SIZE], +[AC_MSG_CHECKING([stack size big than 8k]) +LB_LINUX_TRY_COMPILE([ + #include +],[ + #if THREAD_SIZE < 8192 + #error "stack size < 8192" + #endif +],[ + AC_MSG_RESULT(yes) +],[ + AC_MSG_ERROR([Lustre requires that Linux is configured with at least a 8KB stack.]) +]) +]) + # # LC_PROG_LINUX # @@ -1595,6 +1611,7 @@ AC_DEFUN([LC_PROG_LINUX], [LC_LUSTRE_VERSION_H if test x$enable_server = xyes ; then LC_CONFIG_BACKINGFS + LC_STACK_SIZE fi LC_CONFIG_PINGER LC_CONFIG_CHECKSUM diff --git a/lustre/kernel_patches/series/2.6-rhel5.series b/lustre/kernel_patches/series/2.6-rhel5.series index c07ab4f..b202ffc 100644 --- a/lustre/kernel_patches/series/2.6-rhel5.series +++ b/lustre/kernel_patches/series/2.6-rhel5.series @@ -5,7 +5,6 @@ jbd-jcberr-2.6.18-vanilla.patch export_symbols-2.6.18-vanilla.patch dev_read_only-2.6.18-vanilla.patch export-2.6.18-vanilla.patch -8kstack-2.6.12.patch export-show_task-2.6.18-vanilla.patch sd_iostats-2.6-rhel5.patch export_symbol_numa-2.6-fc5.patch diff --git a/lustre/kernel_patches/series/2.6.22-vanilla.series b/lustre/kernel_patches/series/2.6.22-vanilla.series index b1f1b08..c8df852 100644 --- a/lustre/kernel_patches/series/2.6.22-vanilla.series +++ b/lustre/kernel_patches/series/2.6.22-vanilla.series @@ -7,7 +7,6 @@ export-truncate-2.6.18-vanilla.patch export_symbols-2.6.22-vanilla.patch dev_read_only-2.6.22-vanilla.patch export-2.6.18-vanilla.patch -8kstack-2.6.12.patch export-show_task-2.6.18-vanilla.patch sd_iostats-2.6.22-vanilla.patch quota-large-limits-rhel5.patch