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

A race between lock enqueue and idle import

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.15.0
    • Lustre 2.14.0
    • 3
    • 9223372036854775807

    Description

      There is a window after ptlrpc_check_import_is_idle() and setting LUSTRE_IMP_CONNECTING for lock enqueue. The lock get granted on OST and is returned to the client. Server's lock is destroyed on OST_DISCONNECT.

      Attachments

        Issue Links

          Activity

            [LU-14397] A race between lock enqueue and idle import
            adilger Andreas Dilger added a comment - Note that there are occasional timeouts in this test: https://testing.whamcloud.com/sub_tests/ff3d1a25-4d12-4cfc-8f7a-889d8fa977d0 https://testing.whamcloud.com/sub_tests/978a26a1-fcbc-4be2-825f-e93308d14c4d https://testing.whamcloud.com/sub_tests/4a377d5b-3ae3-4cb5-bdbe-f2d2fdbb8d80 https://testing.whamcloud.com/sub_tests/725c2047-a3d6-48ad-aada-3722d7141468 https://testing.whamcloud.com/sub_tests/8f627fa7-20c4-43d0-91d8-b3cd73dbe40f https://testing.whamcloud.com/sub_tests/f64bb7c7-d3e9-40a7-89d7-a6f343e7a07b
            pjones Peter Jones added a comment -

            Landed for 2.15

            pjones Peter Jones added a comment - Landed for 2.15

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41403/
            Subject: LU-14397 ptlrpc: idle import vs lock enqueue race
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: e6af3c529021976e6df5b5e729d6a6197d27fe11

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41403/ Subject: LU-14397 ptlrpc: idle import vs lock enqueue race Project: fs/lustre-release Branch: master Current Patch Set: Commit: e6af3c529021976e6df5b5e729d6a6197d27fe11

            Alexander Boyko (alexander.boyko@hpe.com) uploaded a new patch: https://review.whamcloud.com/41403
            Subject: LU-14397 ptlrpc: idle import vs lock enqueue race
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: d847d29ee5391a32e328b1d496ff9dbb9b68d94c

            gerrit Gerrit Updater added a comment - Alexander Boyko (alexander.boyko@hpe.com) uploaded a new patch: https://review.whamcloud.com/41403 Subject: LU-14397 ptlrpc: idle import vs lock enqueue race Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d847d29ee5391a32e328b1d496ff9dbb9b68d94c

            People

              aboyko Alexander Boyko
              aboyko Alexander Boyko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: