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

Fix fiemap locking issue in 2.6.32 kernels

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.2.0, Lustre 1.8.6
    • Lustre 2.1.0, Lustre 1.8.6
    • None
    • 3
    • 23,780
    • 5009

    Description

      The patch from Lustre Bugzilla 23780 attachment 31890 was added for RHEL6 support with git commit e550abd05cf7ffddaedbef996be1baaae0912b4a, but a better long term fix is needed.

      Johann L. writes in Lustre Bugzilla 23780 comment #28:
      > The drawback of this patch is a potential race with fiemap (i did not revert
      > the git kernel commit fab3a549e204172236779f502eccb4f9bf0dc87d totally).

      and follows up in Lustre Bugzilla 23780 comment #34:
      > Please note that this patch is a short term solution.
      > Girish, it would be great if you could come up with another patch which takes
      > i_data_sem write reference where it is needed in ext4_walk_space().

      b1_8 also still requires the fix for SLES 11 SP1.


      Info required for matching: sanity-benchmark test_fsx fsx

      Attachments

        Activity

          [LU-216] Fix fiemap locking issue in 2.6.32 kernels
          bobijam Zhenyu Xu made changes -
          Fix Version/s New: Lustre 2.2.0 [ 10082 ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          mjs Mike Stok (Inactive) made changes -
          Description Original: The patch from Lustre Bugzilla 23780 attachment 31890 was added for RHEL6 support with git commit e550abd05cf7ffddaedbef996be1baaae0912b4a, but a better long term fix is needed.

          Johann L. writes in Lustre Bugzilla 23780 comment #28:
          > The drawback of this patch is a potential race with fiemap (i did not revert
          > the git kernel commit fab3a549e204172236779f502eccb4f9bf0dc87d totally).

          and follows up in Lustre Bugzilla 23780 comment #34:
          > Please note that this patch is a short term solution.
          > Girish, it would be great if you could come up with another patch which takes
          > i_data_sem write reference where it is needed in ext4_walk_space().

          b1_8 also still requires the fix for SLES 11 SP1.
          New: The patch from Lustre Bugzilla 23780 attachment 31890 was added for RHEL6 support with git commit e550abd05cf7ffddaedbef996be1baaae0912b4a, but a better long term fix is needed.

          Johann L. writes in Lustre Bugzilla 23780 comment #28:
          > The drawback of this patch is a potential race with fiemap (i did not revert
          > the git kernel commit fab3a549e204172236779f502eccb4f9bf0dc87d totally).

          and follows up in Lustre Bugzilla 23780 comment #34:
          > Please note that this patch is a short term solution.
          > Girish, it would be great if you could come up with another patch which takes
          > i_data_sem write reference where it is needed in ext4_walk_space().

          b1_8 also still requires the fix for SLES 11 SP1.

          -----

          Info required for matching: sanity-benchmark test_fsx fsx
          pjones Peter Jones made changes -
          Priority Original: Blocker [ 1 ] New: Critical [ 2 ]
          pjones Peter Jones made changes -
          Priority Original: Minor [ 4 ] New: Blocker [ 1 ]
          bobijam Zhenyu Xu made changes -
          Fix Version/s New: Lustre 1.8.6 [ 10022 ]
          bobijam Zhenyu Xu made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          bobijam Zhenyu Xu made changes -
          Assignee Original: Robert Read [ rread ] New: Zhenyu Xu [ bobijam ]
          spitzcor Cory Spitz created issue -

          People

            bobijam Zhenyu Xu
            spitzcor Cory Spitz
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: