• Linus Torvalds's avatar
    Merge tag 'gfs2-4.15.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · 29309a4e
    Linus Torvalds authored
    Pull gfs2 updates from Bob Peterson:
     "We've got a total of 17 GFS2 patches for this merge window. The
      patches are basically in three categories: (1) patches related to
      broken xfstest cases, (2) patches related to improving iomap and start
      using it in GFS2, and (3) general typos and clarifications.
    
      Please note that one of the iomap patches extends beyond GFS2 and
      affects other file systems, but it was publically reviewed by a
      variety of file system people in the community.
    
      From Andreas Gruenbacher:
    
       - rename variable 'bsize' to 'factor' to clarify the logic related to
         gfs2_block_map.
    
       - correctly set ctime in the setflags ioctl, which fixes broken
         xfstests test 277.
    
       - fix broken xfstest 258, due to an atime initialization problem.
    
       - fix broken xfstest 307, in which GFS2 was not setting ctime when
         setting acls.
    
       - switch general iomap code from blkno to disk offset for a variety
         of file systems.
    
       - add a new IOMAP_F_DATA_INLINE flag for iomap to indicate blocks
         that have data mixed with metadata.
    
       - implement SEEK_HOLE and SEEK_DATA via iomap in GFS2.
    
       - fix failing xfstest case 066, which was due to not properly syncing
         dirty inodes when changing extended attributes.
    
       - fix a minor typo in a comment.
    
       - partially fix xfstest 424, which involved GET_FLAGS and SET_FLAGS
         ioctl. This is also a cleanup and simplification of the translation
         of flags from fs flags to gfs2 flags.
    
       - add support for STATX_ATTR_ in statx, which fixed broken xfstest
         424.
    
       - fix for failing xfstest 093 which fixes a recursive glock problem
         with gfs2_xattr_get and _set
    
      From me:
    
       - make inode height info part of the 'metapath' data structure to
         facilitate using iomap in GFS2.
    
       - start using iomap inside GFS2 and switch GFS2's block_map functions
         to use iomap under the covers.
    
       - switch GFS2's fiemap implementation from using block_map to using
         iomap under the covers.
    
       - fix journaled data pages not being properly synced to media when
         writing inodes. This was caught with xfstests.
    
       - fix another failing xfstest case in which switching a file from
         ordered_write to journaled data via set_flags caused a deadlock"
    
    * tag 'gfs2-4.15.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
      gfs2: Allow gfs2_xattr_set to be called with the glock held
      gfs2: Add support for statx inode flags
      gfs2: Fix and clean up {GET,SET}FLAGS ioctl
      gfs2: Fix a harmless typo
      gfs2: Fix xattr fsync
      GFS2: Take inode off order_write list when setting jdata flag
      GFS2: flush the log and all pages for jdata as we do for WB_SYNC_ALL
      gfs2: Implement SEEK_HOLE / SEEK_DATA via iomap
      GFS2: Switch fiemap implementation to use iomap
      GFS2: Implement iomap for block_map
      GFS2: Make height info part of metapath
      gfs2: Always update inode ctime in set_acl
      gfs2: Support negative atimes
      gfs2: Update ctime in setflags ioctl
      gfs2: Clarify gfs2_block_map
    29309a4e
trace_gfs2.h 17.2 KB