• Linus Torvalds's avatar
    Merge tag 'for-6.8-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 1f3a3e2a
    Linus Torvalds authored
    Pull btrfs fixes from David Sterba:
     "A few regular fixes and one fix for space reservation regression since
      6.7 that users have been reporting:
    
       - fix over-reservation of metadata chunks due to not keeping proper
         balance between global block reserve and delayed refs reserve; in
         practice this leaves behind empty metadata block groups, the
         workaround is to reclaim them by using the '-musage=1' balance
         filter
    
       - other space reservation fixes:
          - do not delete unused block group if it may be used soon
          - do not reserve space for checksums for NOCOW files
    
       - fix extent map assertion failure when writing out free space inode
    
       - reject encoded write if inode has nodatasum flag set
    
       - fix chunk map leak when loading block group zone info"
    
    * tag 'for-6.8-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
      btrfs: don't refill whole delayed refs block reserve when starting transaction
      btrfs: zoned: fix chunk map leak when loading block group zone info
      btrfs: reject encoded write if inode has nodatasum flag set
      btrfs: don't reserve space for checksums when writing to nocow files
      btrfs: add new unused block groups to the list of unused block groups
      btrfs: do not delete unused block group if it may be used soon
      btrfs: add and use helper to check if block group is used
      btrfs: don't drop extent_map for free space inode on write error
    1f3a3e2a
inode.c 315 KB