<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      I got both the errors resolved. Looks like there was some issue
      with my lustre build process itself.<br>
      So I think along with raid5-zerocopy-rhel6.patch,
      raid5-stats-rhel6.patch was the only additional patch required.<br>
      <br>
      Thanks,<br>
      Aayush<br>
      <br>
      On 3/24/2014 8:40 PM, aayush agrawal wrote:<br>
    </div>
    <blockquote cite="mid:53304ADB.7050307@calsoftinc.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Hi,<br>
      <br>
      I wanted to apply zero copy patch on rhel6 so I followed below
      steps:<br>
      <br>
      <ol>
        <li>Downloaded <font face="Times New Roman, serif"><font
              size="3">lustre-2.1.2 and corresponding kernel rpm</font></font><font
            face="Times New Roman, serif"><font size="3">(linux-2.6.32-220.17.1.el6</font></font>).

          The OS I am using is CentOS 6.4.</li>
        <li>Applied kernel patches from lustre source code to kernel.</li>
        <li>Downloaded a zero copy patch for rhel6 from:
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/Xyratex/lustre-stable/blob/b_neo_1.4.0/lustre/kernel_patches/patches/raid5-zerocopy-rhel6.patch">https://github.com/Xyratex/lustre-stable/blob/b_neo_1.4.0/lustre/kernel_patches/patches/raid5-zerocopy-rhel6.patch</a></li>
        <li>Applied this patch to above kernel.</li>
        <li><font face="Times New Roman, serif"><font size="3">Then I
              tried to compile this kernel </font></font> but it gives
          undefined symbol errors for writes_zcopy and PageConstant.</li>
        <ol>
          <li>For writes_zcopy I found another patch on the same git hub
            link:
            <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/Xyratex/lustre-stable/blob/b_neo_1.4.0/lustre/kernel_patches/patches/raid5-stats-rhel6.patch">https://github.com/Xyratex/lustre-stable/blob/b_neo_1.4.0/lustre/kernel_patches/patches/raid5-stats-rhel6.patch</a>.</li>
          <li>For PageConstant I couldn't find any patch to rectify this
            error. Even I do not see usage of
            PG_Constant/SetPageConstant etc. in
            raid5-zerocopy-rhel6.patch which I think is essential. <br>
          </li>
        </ol>
        <li>So my questions are:</li>
        <ol>
          <li>I think few patches are missing here. As mentioned above
            one of them would be raid5-stats-rhel6.patch please confirm.</li>
          <li>if confirmed, still there has to be at least one patch
            missing (to include PageConstant use). Are there any other
            patches to be applied before I apply raid5-stats-rhel6.patch
            and raid5-zerocopy-rhel6.patch.</li>
          <li>I am seeing that this zero copy patch existed in
            lustre-2.1.2, In lustre/kernel-patches/patches directory for
            rhel5. But it has been removed in latest lustre 2.5.0. Is
            there any specific reason to remove it.</li>
        </ol>
      </ol>
      <p>Thanks,<br>
        Aayush<br>
      </p>
      <br>
      <br>
      <br>
      <br>
      <br>
         
      <title></title>
      <meta name="GENERATOR" content="OpenOffice.org 3.4.1 (Win32)">
      <style type="text/css">
        <!--
                @page { margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style><br>
       <br>
    </blockquote>
    <br>
  </body>
</html>