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

statahead: using try lock for batched statahead to avoid deadlock with rename and migrate operations

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.16.0
    • None
    • None
    • 9223372036854775807

      There may be possible racing between batched statahead RPC and rename()/migrate() operation.
      To avoid this racer, the MDT uses a DLM trylock to obtain the DLM PR lock for file attributes in a batched statahead RPC. A failed try lock means other users maybe modify the directory simultaneously, it should stop batched RPC for statahead immediately.

            qian_wc Qian Yingjin
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: