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

LC_BI_BDEV: configuration problem for 2.6 kernel

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0
    • Lustre 2.12.0
    • None
    • 3
    • 9223372036854775807

    Description

      struct bio is located in linux/bio.h in 2.6 kernel serie. LC_BI_BDEV
      uses linux/blk_types.h. That makes the configuration check to fail for those kernels
      and breaks compiling.

      Attachments

        Issue Links

          Activity

            [LU-11132] LC_BI_BDEV: configuration problem for 2.6 kernel

            Landed for 2.12.

            adilger Andreas Dilger added a comment - Landed for 2.12.

            Andreas Dilger (adilger@whamcloud.com) merged in patch https://review.whamcloud.com/32799/
            Subject: LU-11132 compile: fix LC_BI_BDEV for old kernels
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 63ac7eecf5ad61e311c3c963a2cb12b1045f72e2

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) merged in patch https://review.whamcloud.com/32799/ Subject: LU-11132 compile: fix LC_BI_BDEV for old kernels Project: fs/lustre-release Branch: master Current Patch Set: Commit: 63ac7eecf5ad61e311c3c963a2cb12b1045f72e2

            This was introduced by:

            commit eee33ef0f07f3f2f5953953416d5d505088ae9a9
            Author:     Li Dongyang <dongyangli@ddn.com>
            AuthorDate: Tue Jun 5 11:40:43 2018 +1000
            
                LU-10560 osd: bio_integrity_enabled was removed
                
                T10PI bio support patches used bio_integrity_enabled
                which was no longer available in recent kernels.
                Fix this so we can have server support back on 4.13+
                kernels.
                
                Change-Id: I32eeea244ad599c7af2d551b9b2b173e982d07d3
            
            adilger Andreas Dilger added a comment - This was introduced by: commit eee33ef0f07f3f2f5953953416d5d505088ae9a9 Author: Li Dongyang <dongyangli@ddn.com> AuthorDate: Tue Jun 5 11:40:43 2018 +1000 LU-10560 osd: bio_integrity_enabled was removed T10PI bio support patches used bio_integrity_enabled which was no longer available in recent kernels. Fix this so we can have server support back on 4.13+ kernels. Change-Id: I32eeea244ad599c7af2d551b9b2b173e982d07d3

            Vladimir Saveliev (c17830@cray.com) uploaded a new patch: https://review.whamcloud.com/32799
            Subject: LU-11132 compile: fix LC_BI_BDEV for old kernels
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 121e883c357cbf926a0a4e2241c322ab23b5d9a8

            gerrit Gerrit Updater added a comment - Vladimir Saveliev (c17830@cray.com) uploaded a new patch: https://review.whamcloud.com/32799 Subject: LU-11132 compile: fix LC_BI_BDEV for old kernels Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 121e883c357cbf926a0a4e2241c322ab23b5d9a8

            People

              vsaveliev Vladimir Saveliev
              vsaveliev Vladimir Saveliev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: