• Linus Torvalds's avatar
    Merge tag 'for-5.18-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · 722985e2
    Linus Torvalds authored
    Pull btrfs fixes from David Sterba:
     "A few more code and warning fixes.
    
      There's one feature ioctl removal patch slated for 5.18 that did not
      make it to the main pull request. It's just a one-liner and the ioctl
      has a v2 that's in use for a long time, no point to postpone it to
      5.19.
    
      Late update:
    
       - remove balance v1 ioctl, superseded by v2 in 2012
    
      Fixes:
    
       - add back cgroup attribution for compressed writes
    
       - add super block write start/end annotations to asynchronous balance
    
       - fix root reference count on an error handling path
    
       - in zoned mode, activate zone at the chunk allocation time to avoid
         ENOSPC due to timing issues
    
       - fix delayed allocation accounting for direct IO
    
      Warning fixes:
    
       - simplify assertion condition in zoned check
    
       - remove an unused variable"
    
    * tag 'for-5.18-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
      btrfs: fix btrfs_submit_compressed_write cgroup attribution
      btrfs: fix root ref counts in error handling in btrfs_get_root_ref
      btrfs: zoned: activate block group only for extent allocation
      btrfs: return allocated block group from do_chunk_alloc()
      btrfs: mark resumed async balance as writing
      btrfs: remove support of balance v1 ioctl
      btrfs: release correct delalloc amount in direct IO write path
      btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
      btrfs: zoned: remove redundant condition in btrfs_run_delalloc_range
    722985e2
disk-io.c 147 KB