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

sanityn 16a FAIL: fsx with O_DIRECT failed.

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Size error: expected 0x659000 stat 0x145d12 seek 0x659000
      LOG DUMP (849 total operations):

      Full logs could be found here:

      https://testing-archive.whamcloud.com/gerrit-janitor/6308/testresults/sanityn-ldiskfs-DNE-centos7_x86_64-centos7_x86_64/sanityn.test_16a.test_log.oleg357-client.log

      The problem might be related to following cases:

      1) Client A try to ftruncate file to file_size.
      2) Client B Direct Write (punch hole )to update new_file_size.
      3) Client A try to stat file to check whether it could get new_file_size, but got old file_size instead.

      Attachments

        Issue Links

          Activity

            [LU-13227] sanityn 16a FAIL: fsx with O_DIRECT failed.

            sure, it's been running now..

            bzzz Alex Zhuravlev added a comment - sure, it's been running now..

            bzzz Would you mind applying the above new patch to see if it help fix your problem?
            At least i try ram OST with repeated tests 200, did not reproduce.

            Thanks in advance!

            wshilong Wang Shilong (Inactive) added a comment - bzzz Would you mind applying the above new patch to see if it help fix your problem? At least i try ram OST with repeated tests 200, did not reproduce. Thanks in advance!

            Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/37790
            Subject: LU-13227 ldlm: update lvb before dropping server lock
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 75eafe50f942e1c412b673579e57a311cc46cac0

            gerrit Gerrit Updater added a comment - Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/37790 Subject: LU-13227 ldlm: update lvb before dropping server lock Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 75eafe50f942e1c412b673579e57a311cc46cac0

            sure, please find.

            bzzz Alex Zhuravlev added a comment - sure, please find.

            Hmm..i could not access url logs, would you mind uploading it here?

            wshilong Wang Shilong (Inactive) added a comment - Hmm..i could not access url logs, would you mind uploading it here?
            bzzz Alex Zhuravlev added a comment - - edited

            I think so.. you can find logs here: https://disk.yandex.com/d/z2s2BUC-M4EIgQ
            this is the latest master:

            • bfaa8a0686 2020-03-02 | LU-13314 test: add 56ob to ALWAYS_EXCEPT for now (origin/master, origin/HEAD) [Wang Shilong]
            bzzz Alex Zhuravlev added a comment - - edited I think so.. you can find logs here: https://disk.yandex.com/d/z2s2BUC-M4EIgQ this is the latest master: bfaa8a0686 2020-03-02 | LU-13314 test: add 56ob to ALWAYS_EXCEPT for now (origin/master, origin/HEAD) [Wang Shilong]

            bzzz Would you double check that is not ENOSPC errors? potentially that could be caused by:

            https://review.whamcloud.com/#/c/35896/

            wshilong Wang Shilong (Inactive) added a comment - bzzz Would you double check that is not ENOSPC errors? potentially that could be caused by: https://review.whamcloud.com/#/c/35896/

            still failing on my setup..

            bzzz Alex Zhuravlev added a comment - still failing on my setup..
            pjones Peter Jones added a comment -

            Landed for 2.14

            pjones Peter Jones added a comment - Landed for 2.14

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37611/
            Subject: LU-13227 LDLM: update LVB if it is server lock
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 3b5c670e65b5f3924e014ab1d030e6f45e2999d3

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37611/ Subject: LU-13227 LDLM: update LVB if it is server lock Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3b5c670e65b5f3924e014ab1d030e6f45e2999d3

            Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/37611
            Subject: LU-13227 llite: still enqueue lock for DIO
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: cba494ba69b8aefa060e0f9a09d5c6b4ab7cc7c0

            gerrit Gerrit Updater added a comment - Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/37611 Subject: LU-13227 llite: still enqueue lock for DIO Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: cba494ba69b8aefa060e0f9a09d5c6b4ab7cc7c0

            People

              wshilong Wang Shilong (Inactive)
              wshilong Wang Shilong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: