Re: [GIT PULL] Btrfs fixes for 5.18-rc3

From: David Sterba
Date: Wed Apr 13 2022 - 07:58:23 EST


On Mon, Apr 11, 2022 at 11:31:43PM +0200, David Sterba wrote:
> Hi,
>
> a few more code fixes and a 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.
>
> Please pull, thanks.
>
> - 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
>
> - remove balance v1 ioctl, superseded by v2 in 2012
>
> - warning fixes:
> - simplify assertion condition in zoned check
> - remove an unused variable

Has this ended up in your spam box again? The mail is in lore archives
as https://lore.kernel.org/all/cover.1649705056.git.dsterba@xxxxxxxx/ .

> ----------------------------------------------------------------
> The following changes since commit 60021bd754c6ca0addc6817994f20290a321d8d6:
>
> btrfs: prevent subvol with swapfile from being deleted (2022-03-24 17:50:57 +0100)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.18-rc2-tag
>
> for you to fetch changes up to acee08aaf6d158d03668dc82b0a0eef41100531b:
>
> btrfs: fix btrfs_submit_compressed_write cgroup attribution (2022-04-06 00:50:51 +0200)
>
> ----------------------------------------------------------------
> Dennis Zhou (1):
> btrfs: fix btrfs_submit_compressed_write cgroup attribution
>
> Haowen Bai (1):
> btrfs: zoned: remove redundant condition in btrfs_run_delalloc_range
>
> Jia-Ju Bai (1):
> btrfs: fix root ref counts in error handling in btrfs_get_root_ref
>
> Naohiro Aota (4):
> btrfs: release correct delalloc amount in direct IO write path
> btrfs: mark resumed async balance as writing
> btrfs: return allocated block group from do_chunk_alloc()
> btrfs: zoned: activate block group only for extent allocation
>
> Nathan Chancellor (1):
> btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
>
> Nikolay Borisov (1):
> btrfs: remove support of balance v1 ioctl
>
> fs/btrfs/block-group.c | 40 +++++++++++++++++++++++++++-------------
> fs/btrfs/block-group.h | 4 ++++
> fs/btrfs/compression.c | 8 ++++++++
> fs/btrfs/disk-io.c | 5 +++--
> fs/btrfs/extent-tree.c | 2 +-
> fs/btrfs/inode.c | 9 ++++-----
> fs/btrfs/ioctl.c | 2 --
> fs/btrfs/volumes.c | 2 ++
> 8 files changed, 49 insertions(+), 23 deletions(-)
>