• Linus Torvalds's avatar
    Merge tag 'vfs-5.8-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 7cf035cc
    Linus Torvalds authored
    Pull DAX updates part three from Darrick Wong:
     "Now that the xfs changes have landed, this third piece changes the
      FS_XFLAG_DAX ioctl code in xfs to request that the inode be reloaded
      after the last program closes the file, if doing so would make a S_DAX
      change happen. The goal here is to make dax access mode switching
      quicker when possible.
    
      Summary:
    
       - Teach XFS to ask the VFS to drop an inode if the administrator
         changes the FS_XFLAG_DAX inode flag such that the S_DAX state would
         change. This can result in files changing access modes without
         requiring an unmount cycle"
    
    * tag 'vfs-5.8-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
      fs/xfs: Update xfs_ioctl_setattr_dax_invalidate()
      fs/xfs: Combine xfs_diflags_to_linux() and xfs_diflags_to_iflags()
      fs/xfs: Create function xfs_inode_should_enable_dax()
      fs/xfs: Make DAX mount option a tri-state
      fs/xfs: Change XFS_MOUNT_DAX to XFS_MOUNT_DAX_ALWAYS
      fs/xfs: Remove unnecessary initialization of i_rwsem
    7cf035cc
xfs_ioctl.c 51.8 KB