X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fautoconf%2Flustre-core.m4;h=0950ea89782cc5669edda2c48898b8756c24ee03;hb=0c69ea9f6d6d044b6463787d5a56b2384bb9663a;hp=ed73058c97c2f50cfea170deea539d97a8312b47;hpb=580c1e0017296ea7a25f6f5f8aa8022f713ae762;p=fs%2Flustre-release.git diff --git a/lustre/autoconf/lustre-core.m4 b/lustre/autoconf/lustre-core.m4 index ed73058..0950ea8 100644 --- a/lustre/autoconf/lustre-core.m4 +++ b/lustre/autoconf/lustre-core.m4 @@ -356,34 +356,6 @@ AC_DEFUN([LC_CONFIG_GSS], fi ]) -#2.6.18 + RHEL5 (fc6) - -# raid5-zerocopy patch - -# -# LC_PAGE_CONSTANT -# -# In order to support raid5 zerocopy patch, we have to patch the kernel to make -# it support constant page, which means the page won't be modified during the -# IO. -# -AC_DEFUN([LC_PAGE_CONSTANT], -[AC_MSG_CHECKING([if kernel have PageConstant defined]) -LB_LINUX_TRY_COMPILE([ - #include - #include -],[ - #ifndef PG_constant - #error "Have no raid5 zcopy patch" - #endif -],[ - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_PAGE_CONSTANT, 1, [kernel have PageConstant supported]) -],[ - AC_MSG_RESULT(no); -]) -]) - # 2.6.24 # 2.6.24 has bio_endio with 2 args @@ -1407,9 +1379,6 @@ AC_DEFUN([LC_PROG_LINUX], LC_CONFIG_RMTCLIENT LC_CONFIG_GSS - # raid5-zerocopy patch - LC_PAGE_CONSTANT - # 2.6.24 LC_BIO_ENDIO_2ARG LC_PROCFS_DELETED