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

add fileattr_get() and fileattr_set() VFS methods

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • Lustre 2.14.0, Lustre 2.15.6, Lustre 2.16.1
    • 3
    • 9223372036854775807

      Upstream kernels since v5.12-rc6-1-g4c5b479975 have added the ->fileattr_get() and ->fileattr_set() methods in struct inode_operations to get/set the FS_*_FL flags on inodes instead of going through the ->ioctl() method.

      If the ->fileattr_get() and ->fileattr_set() methods are not defined, the do_vfs_ioctl() call will fall back to calling ->vfs_ioctl()->unlocked_ioctl(), but it is useful for some stacking filesystems (e.g. overlayfs).

            wc-triage WC Triage
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: