From: Andreas Dilger Date: Thu, 14 Mar 2013 19:03:38 +0000 (-0700) Subject: LU-718 mds: fix mds-max-threads configure parameter X-Git-Tag: 2.3.65~41 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=bee35dd415cf51ad784e69eb91a5fbe02b7c0d70 LU-718 mds: fix mds-max-threads configure parameter Commit 648b69c2c9 renamed MDT_MAX_THREADS to MDS_MAX_THREADS, but didn't update the configuration parameter for setting this value at build time. Fortunately, the configure parameter itself has the correct name to begin with, so no build-visible changes needed. Signed-off-by: Andreas Dilger Change-Id: I21dc22e470e7e3788ebef8009643b5c7a98bc220 Reviewed-on: http://review.whamcloud.com/5723 Tested-by: Hudson Reviewed-by: wangdi Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index aaf0701..0a35bd8 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -120,13 +120,13 @@ LB_LINUX_TRY_COMPILE([ # AC_DEFUN([LC_MDS_MAX_THREADS], [ - AC_ARG_WITH([mds_max_threads], - AC_HELP_STRING([--with-mds-max-threads=size], - [define the maximum number of threads available on the MDS: (default=512)]), - [ - MDS_THREAD_COUNT=$with_mds_max_threads - AC_DEFINE_UNQUOTED(MDT_MAX_THREADS, $MDS_THREAD_COUNT, [maximum number of mdt threads]) - ]) + AC_ARG_WITH([mds_max_threads], + AC_HELP_STRING([--with-mds-max-threads=count], + [maximum threads available on the MDS: (default=512)]), + [ + MDS_THREAD_COUNT=$with_mds_max_threads + AC_DEFINE_UNQUOTED(MDS_MAX_THREADS, $MDS_THREAD_COUNT, [maximum number of MDS threads]) + ]) ]) #