Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-1116

support rhel6.2 patchless client on 1.8.x

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 1.8.8
    • Lustre 1.8.7
    • None
    • 9737

    Description

      RHEL6.2 pathcless client needs to be supported on 1.8.x. Intel and AMD CPU based server requires rhel6.2's kernel to support full functions and performance. The master branch supports for this distribution, so at least we need backport the following patches from master branch, and one code change for the patchless client.

      LU-766 Incorrect HAVE_STATFS_DENTRY_PARAM result
      LU-778 RHEL 6.2: rdma_create_id() takes four arguments
      LU-1050 configure broken on centos6.2 with OFED-1.5.4

      On rhel6.2's kenrel, an function name roundup() in include/linux/kernel.h was changed to round_up() which is duplicated what the lustre used in lustre/mdc/mdc_locks.c.
      So, we may need to change this function name like lu_round_up(). This is discussed on wc-discuss.

      --- a/lustre/mdc/mdc_locks.c	2012-01-12 15:54:32.731336048 +0100
      +++ b/lustre/mdc/mdc_locks.c	2012-01-12 15:54:46.072345471 +0100
      @@ -185,7 +185,7 @@
               }
       }
       
      -static int round_up(int val)
      +static int lu_round_up(int val)
       {
               int ret = 1;
               while (val) {
      @@ -301,7 +301,7 @@
               rc = lustre_msg_size(class_exp2cliimp(exp)->imp_msg_magic,
                                    bufcount, size);
               if (rc & (rc - 1))
      -                size[bufcount - 1] = min(size[bufcount - 1] + round_up(rc) - rc,
      +                size[bufcount - 1] = min(size[bufcount - 1] + lu_round_up(rc) - rc,
                                                (__u32)obddev->u.cli.cl_max_mds_easize);
       
               /* If inode is known, cancel conflicting OPEN locks. */
      

      Attachments

        Issue Links

          Activity

            [LU-1116] support rhel6.2 patchless client on 1.8.x
            ys Yang Sheng added a comment -

            Patch landed.

            ys Yang Sheng added a comment - Patch landed.

            Integrated in lustre-b1_8 » x86_64,client,el5,ofa #175
            LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170)

            Result = SUCCESS
            Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170
            Files :

            • lustre/mdc/mdc_locks.c
            • lnet/autoconf/lustre-lnet.m4
            • lustre/kernel_patches/targets/2.6-rhel6.target.in
            • lnet/klnds/o2iblnd/o2iblnd.h
            • lnet/klnds/o2iblnd/o2iblnd_cb.c
            • lnet/klnds/o2iblnd/o2iblnd.c
            • lustre/autoconf/lustre-core.m4
            • lustre/ChangeLog
            hudson Build Master (Inactive) added a comment - Integrated in lustre-b1_8 » x86_64,client,el5,ofa #175 LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170) Result = SUCCESS Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170 Files : lustre/mdc/mdc_locks.c lnet/autoconf/lustre-lnet.m4 lustre/kernel_patches/targets/2.6-rhel6.target.in lnet/klnds/o2iblnd/o2iblnd.h lnet/klnds/o2iblnd/o2iblnd_cb.c lnet/klnds/o2iblnd/o2iblnd.c lustre/autoconf/lustre-core.m4 lustre/ChangeLog

            Integrated in lustre-b1_8 » x86_64,server,el5,inkernel #175
            LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170)

            Result = SUCCESS
            Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170
            Files :

            • lnet/autoconf/lustre-lnet.m4
            • lustre/mdc/mdc_locks.c
            • lustre/autoconf/lustre-core.m4
            • lnet/klnds/o2iblnd/o2iblnd.h
            • lustre/kernel_patches/targets/2.6-rhel6.target.in
            • lustre/ChangeLog
            • lnet/klnds/o2iblnd/o2iblnd_cb.c
            • lnet/klnds/o2iblnd/o2iblnd.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-b1_8 » x86_64,server,el5,inkernel #175 LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170) Result = SUCCESS Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170 Files : lnet/autoconf/lustre-lnet.m4 lustre/mdc/mdc_locks.c lustre/autoconf/lustre-core.m4 lnet/klnds/o2iblnd/o2iblnd.h lustre/kernel_patches/targets/2.6-rhel6.target.in lustre/ChangeLog lnet/klnds/o2iblnd/o2iblnd_cb.c lnet/klnds/o2iblnd/o2iblnd.c

            Integrated in lustre-b1_8 » x86_64,server,el5,ofa #175
            LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170)

            Result = SUCCESS
            Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170
            Files :

            • lustre/ChangeLog
            • lustre/autoconf/lustre-core.m4
            • lnet/klnds/o2iblnd/o2iblnd_cb.c
            • lnet/klnds/o2iblnd/o2iblnd.h
            • lnet/klnds/o2iblnd/o2iblnd.c
            • lustre/kernel_patches/targets/2.6-rhel6.target.in
            • lnet/autoconf/lustre-lnet.m4
            • lustre/mdc/mdc_locks.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-b1_8 » x86_64,server,el5,ofa #175 LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170) Result = SUCCESS Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170 Files : lustre/ChangeLog lustre/autoconf/lustre-core.m4 lnet/klnds/o2iblnd/o2iblnd_cb.c lnet/klnds/o2iblnd/o2iblnd.h lnet/klnds/o2iblnd/o2iblnd.c lustre/kernel_patches/targets/2.6-rhel6.target.in lnet/autoconf/lustre-lnet.m4 lustre/mdc/mdc_locks.c

            Integrated in lustre-b1_8 » i686,server,el5,inkernel #174
            LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170)

            Result = SUCCESS
            Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170
            Files :

            • lustre/mdc/mdc_locks.c
            • lustre/autoconf/lustre-core.m4
            • lnet/autoconf/lustre-lnet.m4
            • lustre/kernel_patches/targets/2.6-rhel6.target.in
            • lnet/klnds/o2iblnd/o2iblnd_cb.c
            • lnet/klnds/o2iblnd/o2iblnd.c
            • lustre/ChangeLog
            • lnet/klnds/o2iblnd/o2iblnd.h
            hudson Build Master (Inactive) added a comment - Integrated in lustre-b1_8 » i686,server,el5,inkernel #174 LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170) Result = SUCCESS Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170 Files : lustre/mdc/mdc_locks.c lustre/autoconf/lustre-core.m4 lnet/autoconf/lustre-lnet.m4 lustre/kernel_patches/targets/2.6-rhel6.target.in lnet/klnds/o2iblnd/o2iblnd_cb.c lnet/klnds/o2iblnd/o2iblnd.c lustre/ChangeLog lnet/klnds/o2iblnd/o2iblnd.h

            Integrated in lustre-b1_8 » i686,server,el5,ofa #174
            LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170)

            Result = SUCCESS
            Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170
            Files :

            • lnet/klnds/o2iblnd/o2iblnd.c
            • lnet/klnds/o2iblnd/o2iblnd.h
            • lnet/autoconf/lustre-lnet.m4
            • lustre/autoconf/lustre-core.m4
            • lnet/klnds/o2iblnd/o2iblnd_cb.c
            • lustre/mdc/mdc_locks.c
            • lustre/kernel_patches/targets/2.6-rhel6.target.in
            • lustre/ChangeLog
            hudson Build Master (Inactive) added a comment - Integrated in lustre-b1_8 » i686,server,el5,ofa #174 LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170) Result = SUCCESS Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170 Files : lnet/klnds/o2iblnd/o2iblnd.c lnet/klnds/o2iblnd/o2iblnd.h lnet/autoconf/lustre-lnet.m4 lustre/autoconf/lustre-core.m4 lnet/klnds/o2iblnd/o2iblnd_cb.c lustre/mdc/mdc_locks.c lustre/kernel_patches/targets/2.6-rhel6.target.in lustre/ChangeLog

            Integrated in lustre-b1_8 » i686,client,el5,inkernel #174
            LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170)

            Result = SUCCESS
            Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170
            Files :

            • lustre/autoconf/lustre-core.m4
            • lnet/klnds/o2iblnd/o2iblnd.h
            • lnet/klnds/o2iblnd/o2iblnd_cb.c
            • lnet/autoconf/lustre-lnet.m4
            • lustre/mdc/mdc_locks.c
            • lustre/kernel_patches/targets/2.6-rhel6.target.in
            • lustre/ChangeLog
            • lnet/klnds/o2iblnd/o2iblnd.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-b1_8 » i686,client,el5,inkernel #174 LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170) Result = SUCCESS Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170 Files : lustre/autoconf/lustre-core.m4 lnet/klnds/o2iblnd/o2iblnd.h lnet/klnds/o2iblnd/o2iblnd_cb.c lnet/autoconf/lustre-lnet.m4 lustre/mdc/mdc_locks.c lustre/kernel_patches/targets/2.6-rhel6.target.in lustre/ChangeLog lnet/klnds/o2iblnd/o2iblnd.c

            Integrated in lustre-b1_8 » x86_64,client,el5,inkernel #174
            LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170)

            Result = SUCCESS
            Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170
            Files :

            • lustre/ChangeLog
            • lnet/klnds/o2iblnd/o2iblnd.c
            • lnet/autoconf/lustre-lnet.m4
            • lnet/klnds/o2iblnd/o2iblnd.h
            • lustre/mdc/mdc_locks.c
            • lustre/kernel_patches/targets/2.6-rhel6.target.in
            • lnet/klnds/o2iblnd/o2iblnd_cb.c
            • lustre/autoconf/lustre-core.m4
            hudson Build Master (Inactive) added a comment - Integrated in lustre-b1_8 » x86_64,client,el5,inkernel #174 LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170) Result = SUCCESS Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170 Files : lustre/ChangeLog lnet/klnds/o2iblnd/o2iblnd.c lnet/autoconf/lustre-lnet.m4 lnet/klnds/o2iblnd/o2iblnd.h lustre/mdc/mdc_locks.c lustre/kernel_patches/targets/2.6-rhel6.target.in lnet/klnds/o2iblnd/o2iblnd_cb.c lustre/autoconf/lustre-core.m4

            Integrated in lustre-b1_8 » i686,client,el5,ofa #174
            LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170)

            Result = SUCCESS
            Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170
            Files :

            • lustre/autoconf/lustre-core.m4
            • lustre/mdc/mdc_locks.c
            • lustre/kernel_patches/targets/2.6-rhel6.target.in
            • lustre/ChangeLog
            • lnet/klnds/o2iblnd/o2iblnd.c
            • lnet/klnds/o2iblnd/o2iblnd_cb.c
            • lnet/klnds/o2iblnd/o2iblnd.h
            • lnet/autoconf/lustre-lnet.m4
            hudson Build Master (Inactive) added a comment - Integrated in lustre-b1_8 » i686,client,el5,ofa #174 LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170) Result = SUCCESS Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170 Files : lustre/autoconf/lustre-core.m4 lustre/mdc/mdc_locks.c lustre/kernel_patches/targets/2.6-rhel6.target.in lustre/ChangeLog lnet/klnds/o2iblnd/o2iblnd.c lnet/klnds/o2iblnd/o2iblnd_cb.c lnet/klnds/o2iblnd/o2iblnd.h lnet/autoconf/lustre-lnet.m4

            Integrated in lustre-b1_8 » x86_64,client,el6,inkernel #174
            LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170)

            Result = SUCCESS
            Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170
            Files :

            • lustre/kernel_patches/targets/2.6-rhel6.target.in
            • lnet/autoconf/lustre-lnet.m4
            • lnet/klnds/o2iblnd/o2iblnd.c
            • lustre/mdc/mdc_locks.c
            • lustre/autoconf/lustre-core.m4
            • lnet/klnds/o2iblnd/o2iblnd.h
            • lnet/klnds/o2iblnd/o2iblnd_cb.c
            • lustre/ChangeLog
            hudson Build Master (Inactive) added a comment - Integrated in lustre-b1_8 » x86_64,client,el6,inkernel #174 LU-1116 kernel: Support RHEL6.2 patchless client. (Revision 4e1292eb75b91aeff20e0e201af05f9f25f6b170) Result = SUCCESS Johann Lombardi : 4e1292eb75b91aeff20e0e201af05f9f25f6b170 Files : lustre/kernel_patches/targets/2.6-rhel6.target.in lnet/autoconf/lustre-lnet.m4 lnet/klnds/o2iblnd/o2iblnd.c lustre/mdc/mdc_locks.c lustre/autoconf/lustre-core.m4 lnet/klnds/o2iblnd/o2iblnd.h lnet/klnds/o2iblnd/o2iblnd_cb.c lustre/ChangeLog

            People

              ys Yang Sheng
              ihara Shuichi Ihara (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: