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

directory deletion fails on multiple MDS for 64K PAGE_SIZE

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.16.0
    • None
    • 2
    • 9223372036854775807

    Description

      Directory deletion fails on multiple MDS for aarch64 64K PAGE_SIZE.

      It fails on many tests which creating directories on multi MDS. E.g. sanity test_1
       
      sudo MDSCOUNT=2 PTLDEBUG=-1  RUNAS_ID=1000 ~/work/lustre-release/lustre/tests/auster   -D ~/log-28  -rv  sanity --only 1
      ...
      == sanity test 1: mkdir; remkdir; rmdir ================== 01:44:19 (1656294259)
      striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d1.sanity
      striped dir -i1 -c2 -H all_char /mnt/lustre/d1.sanity/d2
      mkdir: cannot create directory '/mnt/lustre/d1.sanity/d2': File exists
      /mnt/lustre/d1.sanity/d2 has type dir OK
      rmdir: failed to remove '/mnt/lustre/d1.sanity/d2': Invalid argument
      rmdir: failed to remove '/mnt/lustre/d1.sanity': Directory not empty
      /mnt/lustre/d1.sanity exists
       sanity test_1: @@@@@@ FAIL: d1.sanity was not removed
        Trace dump:
        = /home/centos/work/lustre-release/lustre/tests/test-framework.sh:6408:error()
        = /home/centos/work/lustre-release/lustre/tests/sanity.sh:280:test_1()
        = /home/centos/work/lustre-release/lustre/tests/test-framework.sh:6743:run_one()
        = /home/centos/work/lustre-release/lustre/tests/test-framework.sh:6790:run_one_logged()
        = /home/centos/work/lustre-release/lustre/tests/test-framework.sh:6616:run_test()
        = /home/centos/work/lustre-release/lustre/tests/sanity.sh:282:main()
      Dumping lctl log to /home/centos/log-26/sanity.test_1.*.1656294260.log
      Dumping logs only on local client.
      FAIL 1 (2s)
      resend_count is set to 4 4
      resend_count is set to 4 4
      resend_count is set to 4 4
      resend_count is set to 4 4
      resend_count is set to 4 4
      == sanity test complete, duration 7 sec ================== 01:44:23 (1656294263)
      sanity: FAIL: test_1 d1.sanity was not removed
      rm: cannot remove '/mnt/lustre/d1.sanity': Directory not empty
       sanity test_904: @@@@@@ FAIL: remove sub-test dirs failed
        Trace dump:
        = /home/centos/work/lustre-release/lustre/tests/test-framework.sh:6408:error()
        = /home/centos/work/lustre-release/lustre/tests/test-framework.sh:5892:check_and_cleanup_lustre()
        = /home/centos/work/lustre-release/lustre/tests/sanity.sh:28307:main()
      Dumping lctl log to /home/centos/log-26/sanity.test_904.*.1656294263.log
      Dumping logs only on local client.
      sanity returned 1
      ...

      Attachments

        Activity

          [LU-15978] directory deletion fails on multiple MDS for 64K PAGE_SIZE

          "xinliang <xinliang.liu@linaro.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53654
          Subject: LU-15978 osp: fix striped directory deletion fails for 64K PAGE_SIZE
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set: 1
          Commit: 3701855140356c5d663f9d266246e81fc8b46892

          gerrit Gerrit Updater added a comment - "xinliang <xinliang.liu@linaro.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53654 Subject: LU-15978 osp: fix striped directory deletion fails for 64K PAGE_SIZE Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 3701855140356c5d663f9d266246e81fc8b46892
          pjones Peter Jones added a comment -

          Landed for 2.16

          pjones Peter Jones added a comment - Landed for 2.16

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/47812/
          Subject: LU-15978 osp: fix striped directory deletion fails for 64K PAGE_SIZE
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 7576d294582b818b20559138500cf1e58607cfc8

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/47812/ Subject: LU-15978 osp: fix striped directory deletion fails for 64K PAGE_SIZE Project: fs/lustre-release Branch: master Current Patch Set: Commit: 7576d294582b818b20559138500cf1e58607cfc8

          "xinliang <xinliang.liu@linaro.org>" uploaded a new patch: https://review.whamcloud.com/47812
          Subject: LU-15978 osp: fix directory deletion fails for 64K PAGE_SIZE
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 6ee28ced35584e388b552e906bc89028e8f81277

          gerrit Gerrit Updater added a comment - "xinliang <xinliang.liu@linaro.org>" uploaded a new patch: https://review.whamcloud.com/47812 Subject: LU-15978 osp: fix directory deletion fails for 64K PAGE_SIZE Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 6ee28ced35584e388b552e906bc89028e8f81277
          xinliang Xinliang Liu added a comment -

          There is an error in the kernel log:

          [100991.850151] LustreError: 381691:0:(osp_object.c:1998:osp_it_next_page()) lustre-MDT0000-osp-MDT0001: invalid magic (0 != 8a6d6b6c) for page 0/1 while read layout orphan index
          xinliang Xinliang Liu added a comment - There is an error in the kernel log: [100991.850151] LustreError: 381691:0:(osp_object.c:1998:osp_it_next_page()) lustre-MDT0000-osp-MDT0001: invalid magic (0 != 8a6d6b6c) for page 0/1 while read layout orphan index

          People

            xinliang Xinliang Liu
            xinliang Xinliang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: