Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • None
    • Lustre 2.4.0
    • 21,524
    • 4869

    Description

      Remove Lustre kernel patches to allow Lustre servers to be more easily ported to new kernels, and to be built against vendor kernels without changing the vendor kernel RPMs. There are a number of different patches, each one needs to use equivalent functionality which already exists in the kernel, or work to get the patch accepted upstream.

      Corresponding to bugzilla link:
      https://bugzilla.lustre.org/show_bug.cgi?id=21524

      Attachments

        1. fio_sdck_block_size_read.png
          fio_sdck_block_size_read.png
          41 kB
        2. fio_sdck_block_size_write.png
          fio_sdck_block_size_write.png
          41 kB
        3. fio_sdck_io_depth_read.png
          fio_sdck_io_depth_read.png
          36 kB
        4. fio_sdck_io_depth_write.png
          fio_sdck_io_depth_write.png
          39 kB
        5. mdtest_create_8thr.png
          mdtest_create_8thr.png
          62 kB
        6. mdtest_remove_8thr.png
          mdtest_remove_8thr.png
          72 kB
        7. mdtest_stat_8thr.png
          mdtest_stat_8thr.png
          77 kB
        8. sgpdd_16devs_rsz_read.png
          sgpdd_16devs_rsz_read.png
          47 kB
        9. sgpdd_16devs_rsz_write.png
          sgpdd_16devs_rsz_write.png
          46 kB

        Issue Links

          Activity

            [LU-20] patchless server kernel

            All of the kernels can run patchless now, and our testing has moved over to dm-flakey so the dev_readonly patches are no longer needed (and have been removed from 4.x kernels).

            adilger Andreas Dilger added a comment - All of the kernels can run patchless now, and our testing has moved over to dm-flakey so the dev_readonly patches are no longer needed (and have been removed from 4.x kernels).
            pjones Peter Jones added a comment -

            I don't think that we can fully close out this ticket until servers only run on distros with kernels that include the project quotas patches. However, the option remains for those who prefer to use patchless servers rather than project quotas.

            pjones Peter Jones added a comment - I don't think that we can fully close out this ticket until servers only run on distros with kernels that include the project quotas patches. However, the option remains for those who prefer to use patchless servers rather than project quotas.

            James,
            Even if not technically supported there's still a lot of el6 of various vintages out in the field. If we break it I'm sure we will be making a lot of our users unhappy. I don't think we should.

            bogl Bob Glossman (Inactive) added a comment - James, Even if not technically supported there's still a lot of el6 of various vintages out in the field. If we break it I'm sure we will be making a lot of our users unhappy. I don't think we should.

            Technically rhel6 server side is no longer supported. Testing of rhel6 server should have been stopped by now.

            simmonsja James A Simmons added a comment - Technically rhel6 server side is no longer supported. Testing of rhel6 server should have been stopped by now.
            bogl Bob Glossman (Inactive) added a comment - - edited

            The recent landing of 'LU-20 osd-ldiskfs: Make readonly patches optional', https://review.whamcloud.com/27549 has broken lustre on el6. This mod added calls to kallsyms_lookup_name(), a kernel API not previously used. On el6 this API isn't globally visible to kernel modules, it has no EXPORT() statement. This leads to install time errors like:

            WARNING: /lib/modules/2.6.32-696.3.2.el6_lustre.x86_64/extra/lustre-osd-ldiskfs/fs/osd_ldiskfs.ko needs unknown symbol kallsyms_lookup_name
            WARNING: /lib/modules/2.6.32-696.3.1.el6_lustre.x86_64/weak-updates/lustre-osd-ldiskfs/fs/osd_ldiskfs.ko needs unknown symbol kallsyms_lookup_name
            WARNING: /lib/modules/2.6.32-696.3.2.el6_lustre.x86_64/extra/lustre-osd-ldiskfs/fs/osd_ldiskfs.ko needs unknown symbol kallsyms_lookup_name
            WARNING: /lib/modules/2.6.32-696.3.2.el6.x86_64/weak-updates/lustre-osd-ldiskfs/fs/osd_ldiskfs.ko needs unknown symbol kallsyms_lookup_name

            and runtime errors like:

            osd_ldiskfs: Unknown symbol kallsyms_lookup_name (err 0)
            LustreError: 158-c: Can't load module 'osd-ldiskfs'

            This flaw blocks any use of ldiskfs on el6
            It's a pretty serious regression.

            bogl Bob Glossman (Inactive) added a comment - - edited The recent landing of ' LU-20 osd-ldiskfs: Make readonly patches optional', https://review.whamcloud.com/27549 has broken lustre on el6. This mod added calls to kallsyms_lookup_name(), a kernel API not previously used. On el6 this API isn't globally visible to kernel modules, it has no EXPORT() statement. This leads to install time errors like: WARNING: /lib/modules/2.6.32-696.3.2.el6_lustre.x86_64/extra/lustre-osd-ldiskfs/fs/osd_ldiskfs.ko needs unknown symbol kallsyms_lookup_name WARNING: /lib/modules/2.6.32-696.3.1.el6_lustre.x86_64/weak-updates/lustre-osd-ldiskfs/fs/osd_ldiskfs.ko needs unknown symbol kallsyms_lookup_name WARNING: /lib/modules/2.6.32-696.3.2.el6_lustre.x86_64/extra/lustre-osd-ldiskfs/fs/osd_ldiskfs.ko needs unknown symbol kallsyms_lookup_name WARNING: /lib/modules/2.6.32-696.3.2.el6.x86_64/weak-updates/lustre-osd-ldiskfs/fs/osd_ldiskfs.ko needs unknown symbol kallsyms_lookup_name and runtime errors like: osd_ldiskfs: Unknown symbol kallsyms_lookup_name (err 0) LustreError: 158-c: Can't load module 'osd-ldiskfs' This flaw blocks any use of ldiskfs on el6 It's a pretty serious regression.

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27549/
            Subject: LU-20 osd-ldiskfs: Make readonly patches optional
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 0f0a43b4ba6660a88f7922aadaba1a69c297142c

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27549/ Subject: LU-20 osd-ldiskfs: Make readonly patches optional Project: fs/lustre-release Branch: master Current Patch Set: Commit: 0f0a43b4ba6660a88f7922aadaba1a69c297142c

            Oleg Drokin (oleg.drokin@intel.com) uploaded a new patch: https://review.whamcloud.com/27549
            Subject: LU-20 osd-ldiskfs: Make readonly patches optional
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: aface21135cc936be2cf72fc2e092a4784fbecc0

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) uploaded a new patch: https://review.whamcloud.com/27549 Subject: LU-20 osd-ldiskfs: Make readonly patches optional Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: aface21135cc936be2cf72fc2e092a4784fbecc0

            All of the recovery-* tests depend on this functionality to some extent, to allow clients to submit writes to the server that are dropped deterministically before the server restarts.

            Note there is no reason that the presence of the dev-rdonly patch in our kernel prevents people from building patchless kernels. We need that for the testing ldiskfs, but it is not needed for production with either ldiskfs or ZFS. Note that if you want project quota support for ldiskfs then kernel patches are needed regardless (project quota for ZFS will similarly need ZFS to be patched).

            adilger Andreas Dilger added a comment - All of the recovery-* tests depend on this functionality to some extent, to allow clients to submit writes to the server that are dropped deterministically before the server restarts. Note there is no reason that the presence of the dev-rdonly patch in our kernel prevents people from building patchless kernels. We need that for the testing ldiskfs, but it is not needed for production with either ldiskfs or ZFS. Note that if you want project quota support for ldiskfs then kernel patches are needed regardless (project quota for ZFS will similarly need ZFS to be patched).

            How many tests actually use the dev_rdonly/dm-flakey functionality?

            If it is small, perhaps the best path forward is to simply disable those tests until LU-684 is complete. That would allow us to unblock this ticket, LU-20.

            morrone Christopher Morrone (Inactive) added a comment - How many tests actually use the dev_rdonly/dm-flakey functionality? If it is small, perhaps the best path forward is to simply disable those tests until LU-684 is complete. That would allow us to unblock this ticket, LU-20 .
            mdiep Minh Diep added a comment -

            yup, just found that out too. Thanks. this is great news!

            mdiep Minh Diep added a comment - yup, just found that out too. Thanks. this is great news!

            People

              green Oleg Drokin
              yong.fan nasf (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              35 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: