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

one possible ldiskfs deadlock for rhel7

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • RHEL7
    • 3
    • 9223372036854775807

    Description

      This bug was originally motivated by porting project quota support to ldiskfs:

      https://testing.hpdd.intel.com/test_logs/5de868b0-2377-11e6-a8f9-5254006e85c2/show_text
      ext4_setattr
       down_read(&EXT4_I(inode)->i_data_sem);
       ext4_mark_inode_dirty
        ext4_expand_extra_isize
         ext4_expand_extra_isize_ea
          ext4_xattr_block_set
           down_read(&EXT4_I(inode)->i_data_sem);--->deadlock here.
           ext4_new_meta_blocks
      

      This problem happen when we trying to upgrade ldiskfs to support project
      quota which will expand ext4 inode size.

      I think this problem might also happen when we try to upgrade Lustre from
      rhel6 to rhel7 in the future, so we better fix it.

      I also opened a redhat ticket for this.

      Attachments

        Activity

          [LU-8265] one possible ldiskfs deadlock for rhel7
          ys Yang Sheng added a comment -

          This is duplicated with LU-9146.

          ys Yang Sheng added a comment - This is duplicated with LU-9146 .
          pjones Peter Jones added a comment -

          Yang Sheng

          Could you please review this patch?

          Shilong

          You will need to explicitly add others for them to be able to see the RH ticket

          Peter

          pjones Peter Jones added a comment - Yang Sheng Could you please review this patch? Shilong You will need to explicitly add others for them to be able to see the RH ticket Peter
          wangshilong Wang Shilong (Inactive) added a comment - Tracked Bug in Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=1340582

          Wang Shilong (wshilong@ddn.com) uploaded a new patch: http://review.whamcloud.com/20743
          Subject: LU-8265 ldiskfs: fix one possible deadlock
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 43c31f33eb917b07c06d21c3e5eac4a2f46a28c1

          gerrit Gerrit Updater added a comment - Wang Shilong (wshilong@ddn.com) uploaded a new patch: http://review.whamcloud.com/20743 Subject: LU-8265 ldiskfs: fix one possible deadlock Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 43c31f33eb917b07c06d21c3e5eac4a2f46a28c1

          People

            ys Yang Sheng
            wangshilong Wang Shilong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: