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

why are permission changes synchronous?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • Lustre 2.5.0
    • Lustre 2.4.0
    • 3
    • 9459

      mdd_acl_set() sets the ACL xattr synchronously if /proc/fs/lustre/mdd/lustre-MDT0000/sync_permission is set (it is set by default). This can have a large performance impact for operations like cp -a or tar --xattr. Should this be the default behavior? How does this relate to other permissions-related changed like chown, chmod, etc.? It would be good to explain the security implications of this setting in code comments and in the Lustre manual.

      Some background information:

      http://wiki.lustre.org/index.php/Architecture_-_Version_Based_Recovery#Permissions
      https://projectlava.xyratex.com/show_bug.cgi?id=15390
      http://git.whamcloud.com/gitweb?p=lustre.git;a=commit;h=0509770778396825ba1d7f1b42be5993aac1d6f3

      LLNL-bug-ID: TOSS-2207

            laisiyao Lai Siyao
            nedbass Ned Bass (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: