• Linus Torvalds's avatar
    Merge tag 'for-6.9-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 400dd456
    Linus Torvalds authored
    Pull btrfs fixes from David Sterba:
    
     - fix race when reading extent buffer and 'uptodate' status is missed
       by one thread (introduced in 6.5)
    
     - do additional validation of devices using major:minor numbers
    
     - zoned mode fixes:
         - use zone-aware super block access during scrub
         - fix use-after-free during device replace (found by KASAN)
         - also delete zones that are 100% unusable to reclaim space
    
     - extent unpinning fixes:
         - fix extent map leak after error handling
         - print correct range in error message
    
     - error code and message updates
    
    * tag 'for-6.9-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
      btrfs: fix race in read_extent_buffer_pages()
      btrfs: return accurate error code on open failure in open_fs_devices()
      btrfs: zoned: don't skip block groups with 100% zone unusable
      btrfs: use btrfs_warn() to log message at btrfs_add_extent_mapping()
      btrfs: fix message not properly printing interval when adding extent map
      btrfs: fix warning messages not printing interval at unpin_extent_range()
      btrfs: fix extent map leak in unexpected scenario at unpin_extent_cache()
      btrfs: validate device maj:min during open
      btrfs: zoned: fix use-after-free in do_zone_finish()
      btrfs: zoned: use zone aware sb location for scrub
    400dd456
zoned.c 69.4 KB