Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp215869pxk; Wed, 16 Sep 2020 02:30:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzKma+tzofvarfLJCbx5dJr5WfRV9tOMTkeorKaOZxDDuwibwOtx1VFw8r7C5f8lbNERlO X-Received: by 2002:a05:6402:1d0f:: with SMTP id dg15mr27557399edb.342.1600248628741; Wed, 16 Sep 2020 02:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600248628; cv=none; d=google.com; s=arc-20160816; b=QjA5B3xLi8/hbd5sMzMyzEccxQMc8MH10PXFRyygDzCm1qhIH5GlP8dgMA8sdRTbF0 Ltug34CU6RPcrTke+7gL5BgtaO6aP0XucnwWjheF4KSbBtHO6HithaRp+4uq5QNOcgHJ BmbFti29uLDIF3maP4E4SG7Y5j2uLhtni3Efkmt6tdJyYg5jVacyev5x1MsGfdBc3ORq e4OaSNhx4Lipacx3rufioRs6+db31l0e5qHCPiLAM2Ajzz5Neq8ukcFw7fTjWOqWcwNq pyR6Vb2YAwHxY28Kav3dsgipZG9sSNn6DEllySqkz3Rn10vEopUeT1Iw7SIECHXYE1Jf EVRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :reply-to:message-id:subject:cc:to:from:date; bh=9v/Q4+wYEla5IYmENYUZV0GC/NnpWQxiJzfIojo+Yg8=; b=AgJe3XGhllaxZVsr4VcOmVmkBGCvdmZUEv/y93O5FEAFPM9rrpqM+d61U0Z24R3RnW HbQzQzdf3VKxAuqc45eAv+q1vySnGLy/v2rlrpEOTa/+fbDgmy+5ZdmQWOLNB30W0ma/ HLe3B/8XkAPP/0+uYJWSEoiWXLxlTwKLDBNcz4aKIBy4XrBmeBqtpD++CPCntBgPlMV6 gPJncZr6qov0rJZwfnhpMXPbMPFlY1YRV5EnCOMGsClP4xDkFMwIRSGfGXX46BzLxIDk OW8KE8plxLIo+A44dkk49OPZn8ewlYHa568tBjnMipMhQLBLHvxG0dC8BgQ/Dxjdy9kj hJTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si13188363edm.560.2020.09.16.02.30.05; Wed, 16 Sep 2020 02:30:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726680AbgIPJ31 (ORCPT + 99 others); Wed, 16 Sep 2020 05:29:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:43094 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726129AbgIPJ3X (ORCPT ); Wed, 16 Sep 2020 05:29:23 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 5A4AFABD1; Wed, 16 Sep 2020 09:29:37 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 0C0D8DA7C7; Wed, 16 Sep 2020 11:28:09 +0200 (CEST) Date: Wed, 16 Sep 2020 11:28:09 +0200 From: David Sterba To: Christoph Hellwig Cc: Jens Axboe , Song Liu , Hans de Goede , Richard Weinberger , Minchan Kim , linux-mtd@lists.infradead.org, dm-devel@redhat.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, drbd-dev@tron.linbit.com, linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, cgroups@vger.kernel.org, Johannes Thumshirn Subject: Re: [PATCH 07/12] bdi: remove BDI_CAP_CGROUP_WRITEBACK Message-ID: <20200916092809.GJ1791@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Christoph Hellwig , Jens Axboe , Song Liu , Hans de Goede , Richard Weinberger , Minchan Kim , linux-mtd@lists.infradead.org, dm-devel@redhat.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, drbd-dev@tron.linbit.com, linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, cgroups@vger.kernel.org, Johannes Thumshirn References: <20200910144833.742260-1-hch@lst.de> <20200910144833.742260-8-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200910144833.742260-8-hch@lst.de> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 10, 2020 at 04:48:27PM +0200, Christoph Hellwig wrote: > Just checking SB_I_CGROUPWB for cgroup writeback support is enough. > Either the file system allocates its own bdi (e.g. btrfs), in which case > it is known to support cgroup writeback, or the bdi comes from the block > layer, which always supports cgroup writeback. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Johannes Thumshirn Acked-by: David Sterba