• Linus Torvalds's avatar
    Merge tag 'ext4_for_linus-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 · 57aff997
    Linus Torvalds authored
    Pull ext4 updates from Ted Ts'o:
     "Cleanup ext4's multi-block allocator, including adding some unit
      tests, as well as cleaning how we update the backup superblock after
      online resizes or updating the label or uuid.
    
      Optimize handling of released data blocks in ext4's commit machinery
      to avoid a potential lock contention on s_md_lock spinlock.
    
      Fix a number of ext4 bugs:
    
       - fix race between writepages and remount
    
       - fix racy may inline data check in dio write
    
       - add missed brelse in an error path in update_backups
    
       - fix umask handling when ACL support is disabled
    
       - fix lost EIO error when a journal commit races with a fsync of the
         blockdev
    
       - fix potential improper i_size when there is a crash right after an
         O_SYNC direct write.
    
       - check extent node for validity before potentially using what might
         be an invalid pointer
    
       - fix potential stale data exposure when writing to an unwritten
         extent and the file system is nearly out of space
    
       - fix potential accounting error around block reservations when
         writing partial delayed allocation writes to a bigalloc cluster
    
       - avoid memory allocation failure when tracking partial delayed
         allocation writes to a bigalloc cluster
    
       - fix various debugging print messages"
    
    * tag 'ext4_for_linus-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (41 commits)
      ext4: properly sync file size update after O_SYNC direct IO
      ext4: fix racy may inline data check in dio write
      ext4: run mballoc test with different layouts setting
      ext4: add first unit test for ext4_mb_new_blocks_simple in mballoc
      ext4: add some kunit stub for mballoc kunit test
      ext4: call ext4_mb_mark_context in ext4_group_add_blocks()
      ext4: Separate block bitmap and buddy bitmap freeing in ext4_group_add_blocks()
      ext4: call ext4_mb_mark_context in ext4_mb_clear_bb
      ext4: Separate block bitmap and buddy bitmap freeing in ext4_mb_clear_bb()
      ext4: call ext4_mb_mark_context in ext4_mb_mark_diskspace_used
      ext4: extend ext4_mb_mark_context to support allocation under journal
      ext4: call ext4_mb_mark_context in ext4_free_blocks_simple
      ext4: factor out codes to update block bitmap and group descriptor on disk from ext4_mb_mark_bb
      ext4: make state in ext4_mb_mark_bb to be bool
      jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
      ext4: apply umask if ACL support is disabled
      ext4: mark buffer new if it is unwritten to avoid stale data exposure
      ext4: move 'ix' sanity check to corrent position
      jbd2: fix printk format type for 'io_block' in do_one_pass()
      jbd2: print io_block if check data block checksum failed when do recovery
      ...
    57aff997
super.c 206 KB