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

old-style Lustre EA inodes support is broken in newer kernel

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.16.0, Lustre 2.15.2
    • Lustre 2.14.0, Lustre 2.15.0
    • None
    • 3
    • 9223372036854775807

    Description

      the system upgraded from Lustre/rhel7.6/kernel-3.10 experiences the following problems:

      files unaccessible with "Structure needs cleaning" error , kernel log at MDS is full of

      [Tue Aug 2 11:15:32 2022] LDISKFS-fs warning (device md1): ldiskfs_xattr_inode_get:497: inode #4290430381: comm mdt04_005: EA inode hash validation failed
      [Tue Aug 2 11:15:32 2022] LDISKFS-fs warning (device md1): ldiskfs_xattr_inode_get:497: inode #4290430355: comm mdt04_032: EA inode hash validation failed
      [Tue Aug 2 11:15:32 2022] LDISKFS-fs warning (device md1): ldiskfs_xattr_inode_get:497: inode #4290430357: comm mdt04_013: EA inode hash validation failed
      [Tue Aug 2 11:15:32 2022] LDISKFS-fs warning (device md1): ldiskfs_xattr_inode_get:497: inode #4290430383: comm mdt07_024: EA inode hash validation failed
      

      Attachments

        Issue Links

          Activity

            [LU-16082] old-style Lustre EA inodes support is broken in newer kernel

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48611/
            Subject: LU-16082 ldiskfs: old-style EA inode fix for el8.5/el8.6
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set:
            Commit: 818e2cc867f948693bec9c5d64314c7546dc858d

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48611/ Subject: LU-16082 ldiskfs: old-style EA inode fix for el8.5/el8.6 Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: 818e2cc867f948693bec9c5d64314c7546dc858d

            "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48611
            Subject: LU-16082 ldiskfs: old-style EA inode fix for el8.5/el8.6
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: c4dcdeff3f5514fc68e71f6a7b911298932b13c5

            gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48611 Subject: LU-16082 ldiskfs: old-style EA inode fix for el8.5/el8.6 Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: c4dcdeff3f5514fc68e71f6a7b911298932b13c5

            > Does the patch that just merged replace the earlier ones pushed or are they all needed?
            each patch adds more rhel8 targets.

            zam Alexander Zarochentsev added a comment - > Does the patch that just merged replace the earlier ones pushed or are they all needed? each patch adds more rhel8 targets.
            pjones Peter Jones added a comment -

            Does the patch that just merged replace the earlier ones pushed or are they all needed?

            pjones Peter Jones added a comment - Does the patch that just merged replace the earlier ones pushed or are they all needed?

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/48496/
            Subject: LU-16082 ldiskfs: old-style EA inode fix for el8.5/el8.6
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: ba9845274c8ea5c55f57b7fa0e839f18d76031ea

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/48496/ Subject: LU-16082 ldiskfs: old-style EA inode fix for el8.5/el8.6 Project: fs/lustre-release Branch: master Current Patch Set: Commit: ba9845274c8ea5c55f57b7fa0e839f18d76031ea

            "Alexander Zarochentsev <alexander.zarochentsev@hpe.com>" uploaded a new patch: https://review.whamcloud.com/48498
            Subject: LU-16082 ldiskfs: more targets for old ea_inode fix
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: b387b80f9dcffbdc484283b62dec0792c6c452fb

            gerrit Gerrit Updater added a comment - "Alexander Zarochentsev <alexander.zarochentsev@hpe.com>" uploaded a new patch: https://review.whamcloud.com/48498 Subject: LU-16082 ldiskfs: more targets for old ea_inode fix Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: b387b80f9dcffbdc484283b62dec0792c6c452fb

            "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48496
            Subject: LU-16082 ldiskfs: old-style EA inode fix for el8.5/el8.6
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 235395d7b39adcc2c21006a44b27788ebf83e631

            gerrit Gerrit Updater added a comment - "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48496 Subject: LU-16082 ldiskfs: old-style EA inode fix for el8.5/el8.6 Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 235395d7b39adcc2c21006a44b27788ebf83e631

            "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48412
            Subject: LU-16082 ldiskfs: old-style EA inode handling fix
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: 31a73bf8c3371c44628e584d7e2234440dcc13f9

            gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48412 Subject: LU-16082 ldiskfs: old-style EA inode handling fix Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 31a73bf8c3371c44628e584d7e2234440dcc13f9

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/48174/
            Subject: LU-16082 ldiskfs: old-style EA inode handling fix
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 76c3fa96dc30f21e95d80f9119972d7358975258

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/48174/ Subject: LU-16082 ldiskfs: old-style EA inode handling fix Project: fs/lustre-release Branch: master Current Patch Set: Commit: 76c3fa96dc30f21e95d80f9119972d7358975258
            zam Alexander Zarochentsev added a comment - - edited

            Test failure with the patch https://review.whamcloud.com/48350 :

            == check Large EA ==
            /tmp/t32/mnt/lustre/large_xattr_test_dir/large_xattr_file: user.fooattr: Structure needs cleaning
             conf-sanity test_32g: @@@@@@ FAIL: Large EA cannot be read 
              Trace dump:
              = ./../tests/test-framework.sh:6505:error_noexit()
              = conf-sanity.sh:2541:t32_test()
              = conf-sanity.sh:2980:test_32g()
              = ./../tests/test-framework.sh:6858:run_one()
              = ./../tests/test-framework.sh:6908:run_one_logged()
              = ./../tests/test-framework.sh:6730:run_test()
              = conf-sanity.sh:2985:main()
            Dumping lctl log to /tmp/test_logs/1661958175/conf-sanity.test_32g.*.1661958356.log
            Dumping logs only on local client.
            == cleanup with rc=0 ==
            
            
            zam Alexander Zarochentsev added a comment - - edited Test failure with the patch https://review.whamcloud.com/48350 : == check Large EA == /tmp/t32/mnt/lustre/large_xattr_test_dir/large_xattr_file: user.fooattr: Structure needs cleaning conf-sanity test_32g: @@@@@@ FAIL: Large EA cannot be read Trace dump: = ./../tests/test-framework.sh:6505:error_noexit() = conf-sanity.sh:2541:t32_test() = conf-sanity.sh:2980:test_32g() = ./../tests/test-framework.sh:6858:run_one() = ./../tests/test-framework.sh:6908:run_one_logged() = ./../tests/test-framework.sh:6730:run_test() = conf-sanity.sh:2985:main() Dumping lctl log to /tmp/test_logs/1661958175/conf-sanity.test_32g.*.1661958356.log Dumping logs only on local client. == cleanup with rc=0 ==

            "Alexander Zarochentsev <alexander.zarochentsev@hpe.com>" uploaded a new patch: https://review.whamcloud.com/48350
            Subject: LU-16082 ldiskfs: Large EA upgrade test
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 5711c926acc327d3d77645485df555a0a42fd390

            gerrit Gerrit Updater added a comment - "Alexander Zarochentsev <alexander.zarochentsev@hpe.com>" uploaded a new patch: https://review.whamcloud.com/48350 Subject: LU-16082 ldiskfs: Large EA upgrade test Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 5711c926acc327d3d77645485df555a0a42fd390

            People

              zam Alexander Zarochentsev
              zam Alexander Zarochentsev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: