From: yangsheng Date: Wed, 27 May 2009 08:31:02 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_8_2_01~1^2~388 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=71111d423a6347b0cda05e58926e73ec33dcb6a4;p=fs%2Flustre-release.git Branch b1_8 b=18668 Recommit quota64 config check part. --- diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index ecd7ed4..5100462 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -2171,12 +2171,24 @@ LB_LINUX_TRY_COMPILE([ ],[],[ AC_DEFINE(HAVE_QUOTA64, 1, [have quota64]) AC_MSG_RESULT([yes]) - ],[ - AC_MSG_WARN([4 TB (or larger) block quota limits can only be used with OSTs not larger than 4 TB.]) - AC_MSG_WARN([Continuing with limited quota support.]) - AC_MSG_WARN([quotacheck is needed for filesystems with recent quota versions.]) - AC_MSG_RESULT([no]) + tmp_flags="$EXTRA_KCFLAGS" + EXTRA_KCFLAGS="-I $LINUX/fs" + LB_LINUX_TRY_COMPILE([ + #include + #include + #include + struct v2r1_disk_dqblk dqblk_r1; + ],[],[ + AC_DEFINE(HAVE_QUOTA64, 1, [have quota64]) + AC_MSG_RESULT([yes]) + ],[ + AC_MSG_WARN([4 TB (or larger) block quota limits can only be used with OSTs not larger than 4 TB.]) + AC_MSG_WARN([Continuing with limited quota support.]) + AC_MSG_WARN([quotacheck is needed for filesystems with recent quota versions.]) + AC_MSG_RESULT([no]) + ]) + EXTRA_KCFLAGS=$tmp_flags ]) ])