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

Support for linux kernel version 5.0

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • Lustre 2.13.0
    • None
    • Ubuntu 19.04
    • 9223372036854775807

    Description

      Several API changes from 4.18 to 5.0

       

      Trivial

      ib_device_ops

      function int ib_fmr_pool_unmap() -> void ib_fmr_pool_unmap()

      DECLARE_PCI_UNMAP_ADDR() dropped

      4.16: kernel_sock_ioctl() helper function dropped

      Fix up inode_has_no_xattr() now that MS_* and SB_* flags have split.

       

      4.18: kernel inode i_mtime, i_atime, i_ctime are timespec64

      4.19: kernel ext4_iget() now takes a flags argument

      4.20: iov_iter_type is defined breaking a macro only used by lustre

      Provide accessor wrapper for:

      kernel 5.0 commit ca79b0c211af63fa3276f0e3fd7dd9ada2439839
      mm: convert totalram_pages and totalhigh_pages variables to atomic

       kernel 4.19 vfs 'atomic_open' changed signature. Use FMODE_CREATED flag instead of '*opened' argument.

      kernel 5.1 commit 3d252529480c68bfd6a6774652df7c8968b28e41
      SELinux: Remove unused selinux_is_enabled

      (commit 3d252529480 included in ubuntu 5.0 kernel)

      Provide .m4 macros and wrappers as needed.

      (Mostly trivial changes on top of changes for RHEL8).

       

       

       

      Attachments

        Issue Links

          Activity

            [LU-12355] Support for linux kernel version 5.0

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40379/
            Subject: LU-12355 llite: MS_* flags and SB_* flags split
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: f9d52ca68ef2078a93b39bb83b103f14a7053162

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40379/ Subject: LU-12355 llite: MS_* flags and SB_* flags split Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: f9d52ca68ef2078a93b39bb83b103f14a7053162

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40376/
            Subject: LU-12355 llite: totalram_pages changed to atomic_long_t
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: 004a8fae2ddb04f6c8a3ccf40a0fb9b233cfe811

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40376/ Subject: LU-12355 llite: totalram_pages changed to atomic_long_t Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 004a8fae2ddb04f6c8a3ccf40a0fb9b233cfe811

            Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40379
            Subject: LU-12355 llite: MS_* flags and SB_* flags split
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 698df502bb65cb93082127d24362b30e0c651b89

            gerrit Gerrit Updater added a comment - Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40379 Subject: LU-12355 llite: MS_* flags and SB_* flags split Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 698df502bb65cb93082127d24362b30e0c651b89

            Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40376
            Subject: LU-12355 llite: totalram_pages changed to atomic_long_t
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: b93f619e9f6f2bd4dfa42210a1a103f2a4f14faf

            gerrit Gerrit Updater added a comment - Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40376 Subject: LU-12355 llite: totalram_pages changed to atomic_long_t Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: b93f619e9f6f2bd4dfa42210a1a103f2a4f14faf

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38480/
            Subject: LU-12355 llite: include file linux/selinux.h removed
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: 547cda898d8f3523aa411c5d7f98c2a14beb2139

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38480/ Subject: LU-12355 llite: include file linux/selinux.h removed Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 547cda898d8f3523aa411c5d7f98c2a14beb2139

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38479/
            Subject: LU-12355 llite: Lustre specific iov_for_each broken (removed)
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: e6d9610390bd8dcf4d0afe09d65399d84ef083cb

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38479/ Subject: LU-12355 llite: Lustre specific iov_for_each broken (removed) Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: e6d9610390bd8dcf4d0afe09d65399d84ef083cb

            Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38480
            Subject: LU-12355 llite: include file linux/selinux.h removed
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 8fc827345c00846b35c60d9bf1f5ae5fe44e97e7

            gerrit Gerrit Updater added a comment - Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38480 Subject: LU-12355 llite: include file linux/selinux.h removed Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 8fc827345c00846b35c60d9bf1f5ae5fe44e97e7

            Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38479
            Subject: LU-12355 llite: Lustre specific iov_for_each broken (removed)
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 145a42ee5a94dcb1f97f2fe0fdb9d4fee2b0b382

            gerrit Gerrit Updater added a comment - Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38479 Subject: LU-12355 llite: Lustre specific iov_for_each broken (removed) Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 145a42ee5a94dcb1f97f2fe0fdb9d4fee2b0b382

            Everything has landed so this can be closed.

            simmonsja James A Simmons added a comment - Everything has landed so this can be closed.
            pjones Peter Jones added a comment -

            Everything open has landed - is there anything more still to come under this ticket or can we mark it as resolved?

            pjones Peter Jones added a comment - Everything open has landed - is there anything more still to come under this ticket or can we mark it as resolved?

            People

              stancheff Shaun Tancheff
              stancheff Shaun Tancheff
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: