Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56732C433F5 for ; Fri, 1 Apr 2022 16:56:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344444AbiDAQ6Z (ORCPT ); Fri, 1 Apr 2022 12:58:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349454AbiDAQ6F (ORCPT ); Fri, 1 Apr 2022 12:58:05 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4839C114FF1 for ; Fri, 1 Apr 2022 09:56:16 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id EFFAD1FCFF; Fri, 1 Apr 2022 16:56:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1648832174; 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: in-reply-to:in-reply-to:references:references; bh=q/eJ4WmMK1cHgBeb5+gF6Fft4O5YhUv7QIZ25XaYmpg=; b=MpWOkC7YJ3UxfNQixnY0Hz5ijz3pPD6/HJW0h2zLx6ltJMPu+Pxm1M1yFll6eucURN2w05 oI+m6ooYbDLwqdQV8CXdsX+VNqrlkwDyNZRYdn/qJKVRRBUSJvtVECGELfRXhtnfMStNxm 0ixU9AEgLwMltx6v+/Q8BXtfO+Zj/PQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1648832174; 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: in-reply-to:in-reply-to:references:references; bh=q/eJ4WmMK1cHgBeb5+gF6Fft4O5YhUv7QIZ25XaYmpg=; b=QkILd+YapyoQLEeTPkPwAGREFDGL+/0mJqHriWSodTV01e/b9MCvkuj+95rjSJKS1EYwSE QvMUgXoy2oXHl/BA== Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id E5F7BA3B87; Fri, 1 Apr 2022 16:56:14 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id D79ABDA7F3; Fri, 1 Apr 2022 18:52:15 +0200 (CEST) Date: Fri, 1 Apr 2022 18:52:15 +0200 From: David Sterba To: Dennis Zhou Cc: David Sterba , Chris Mason , Josef Bacik , linux-btrfs@vger.kernel.org Subject: Re: [PATCH 1/1] btrfs: fix btrfs_submit_compressed_write cgroup attribution Message-ID: <20220401165215.GN15609@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Dennis Zhou , David Sterba , Chris Mason , Josef Bacik , linux-btrfs@vger.kernel.org References: <20220331215828.179991-1-dennis@kernel.org> <20220331215828.179991-2-dennis@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220331215828.179991-2-dennis@kernel.org> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Thu, Mar 31, 2022 at 02:58:28PM -0700, Dennis Zhou wrote: > This restores the logic from commit 46bcff2bfc5e > ("btrfs: fix compressed write bio blkcg attribution") which added cgroup > attribution to btrfs writeback. It also adds back the REQ_CGROUP_PUNT > flag for these ios. > > Fixes: 91507240482e ("btrfs: determine stripe boundary at bio allocation time in btrfs_submit_compressed_write") > Signed-off-by: Dennis Zhou Looks like this got lost in the refactoring. Added to misc-next, thanks.