Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp18765lfv; Tue, 12 Apr 2022 15:28:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+96gAozGwBwEcguSagynur1+FUpiAepNJMpJt2CPGB1WuzEWUJbN6N/8li9JKGBpcAExb X-Received: by 2002:a17:902:f542:b0:156:b46e:2403 with SMTP id h2-20020a170902f54200b00156b46e2403mr40099925plf.62.1649802538510; Tue, 12 Apr 2022 15:28:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649802538; cv=none; d=google.com; s=arc-20160816; b=D7Yz4Q5UmPLG3LH8xwEujbnFzR2v5Dssr/61xMeKIof/XwTqv+SOHKCTcXMHf+u7JS HbafHzOcTUc3I5e/UcazrkDEzJ2s/8v8SSKh2NoAD5QTJFVHQ9O7jfy5xypB8Xr5lhDd grGBtEfkJmmNppr0Re2Rjdlmmn2izuFbpjL56R0Fz/0z+7m3AHGVO+yG86p1Ua++jByP 1j3G5jHv75Ko5YZ2Fe8/y4bNfEI12msQuCqhiZWTpsshwasG+kxC5daang21oCw1KtQV 7eogTUs71xc6RBrriPMzJnpJzJ/5q0lYnYn9b4qBc7xe4dUp81Wr6ufMlXy8eTuTcoyx PCbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :mail-followup-to:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=R28uIVDq4qAGeIwTtENJyrG9YUAQBJ+HFp4P3OulMU8=; b=H83CFH8uXwSUn7zB/HtOoQF+4ci1P2qDh/Rkb9VH8c9PWOes2/LaqW3meHN1eKU27u UdOaUseyXXXBvaiLa/vRGwFJVLvm1MtIpEoRi4QCBN9M3+lMaXb1QpjgqQHKwPQHh3EE xp30UyAotb5E24lnMzscV801J9USHbGf5AFSHd2lI+28QLr0cOjn6uKhxLdW4FnA8/Kl TW0Ol2Lz29JVhiTpoS9/nawOHp4aFx8/avYom2pYd/NQQ46B9xLNj7oZdA/0Ye0EYt1V D1r/H9T/5xnf0YU7TytGXwr5XieXgLH6QlKAzvTrUJI3aEHzHkdi9aLMKhix6eOwxwqC I4Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=j9vSkizS; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d132-20020a63688a000000b0039934530043si3761920pgc.293.2022.04.12.15.28.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 15:28:58 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=j9vSkizS; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BDDA61868B0; Tue, 12 Apr 2022 14:06:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350214AbiDKViH (ORCPT + 99 others); Mon, 11 Apr 2022 17:38:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237681AbiDKViF (ORCPT ); Mon, 11 Apr 2022 17:38:05 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5E8733376; Mon, 11 Apr 2022 14:35:49 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id DF44B21602; Mon, 11 Apr 2022 21:35:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1649712947; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type; bh=R28uIVDq4qAGeIwTtENJyrG9YUAQBJ+HFp4P3OulMU8=; b=j9vSkizSx+tA64WhgaS9lAFKYq0GPLni6gmAQIy6inli8F9Mo6Bz90QqlF/5n4K4ZEKlU7 0IdDc/gmY4rY1Q/z3i3mmxFN9GAgBncnOUQEkw9TWv3ZJMW5ixs/EvJfU+wvq1mvh1+eRo sF07OXaOOQLPar/tVdHuBMXigPiaoEM= Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id D480AA3B89; Mon, 11 Apr 2022 21:35:47 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 57086DA7F7; Mon, 11 Apr 2022 23:31:43 +0200 (CEST) Date: Mon, 11 Apr 2022 23:31:43 +0200 From: David Sterba To: torvalds@linux-foundation.org Cc: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Btrfs fixes for 5.18-rc3 Message-ID: Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, torvalds@linux-foundation.org, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ---------------------------------------------------------------- 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(-)