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

Rework __vfs_getxattr/__vfs_setxattr/__vfs_removexattr support

Details

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

    Description

      Instead of checking everywhere in the code whether kernel defines

      __vfs_getxattr/__vfs_setxattr/__vfs_removexattr
      

      define compat macros to handle this in lustre_compat.h.

      Attachments

        Issue Links

          Activity

            [LU-13430] Rework __vfs_getxattr/__vfs_setxattr/__vfs_removexattr support

            vfs_setxattr() and __vfs_removexattr() grab inode's lock and that can cause a deadlock - LU-17546

            bzzz Alex Zhuravlev added a comment - vfs_setxattr() and __vfs_removexattr() grab inode's lock and that can cause a deadlock - LU-17546

            As far as I remember, yes, to cleanup code. And it was later fixed by patch "LU-13465 vfs: make ll_vfs_setxattr return -EOPNOTSUPP".
            Why are you asking?

            sebastien Sebastien Buisson added a comment - As far as I remember, yes, to cleanup code. And it was later fixed by patch " LU-13465 vfs: make ll_vfs_setxattr return -EOPNOTSUPP". Why are you asking?

            what was the reason for this patch? is it a code cleanup only?

            bzzz Alex Zhuravlev added a comment - what was the reason for this patch? is it a code cleanup only?
            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/38175/
            Subject: LU-13430 vfs: add ll_vfs_getxattr/ll_vfs_setxattr compat macro
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: dcd5607ce0b35c256a7e2ec7cdca642961219c07

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38175/ Subject: LU-13430 vfs: add ll_vfs_getxattr/ll_vfs_setxattr compat macro Project: fs/lustre-release Branch: master Current Patch Set: Commit: dcd5607ce0b35c256a7e2ec7cdca642961219c07

            Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/38175
            Subject: LU-13430 vfs: add ll_vfs_getxattr/ll_vfs_setxattr compat macro
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 34a5fd14fe05cc643e42ee9ca5e324e83dc83efb

            gerrit Gerrit Updater added a comment - Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/38175 Subject: LU-13430 vfs: add ll_vfs_getxattr/ll_vfs_setxattr compat macro Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 34a5fd14fe05cc643e42ee9ca5e324e83dc83efb

            People

              sebastien Sebastien Buisson
              sebastien Sebastien Buisson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: