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

migration should enqueue nonblock locks for objects in linkEA

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.8.0
    • Lustre 2.8.0
    • None
    • 3
    • 9223372036854775807

    Description

      During migration, it needs to lock all of parent objects in the linkea of the migrating object, so these parent objects can change the name entry after the migration. But the lock order might conflict with the normal parent-child lock order. So it should use mdt_object_lock_try(), which will enqueue nonblocking locks, i.e. once there are conflicting locks, the migration will return -EBUSY, and the user can retry the migration later.

      Attachments

        Issue Links

          Activity

            People

              di.wang Di Wang
              di.wang Di Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: