Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp622348lfv; Tue, 12 Apr 2022 00:17:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyN+VDa5PTv2QTGoxfTdfpN+6nEf/4nyllTUSzjtMHVNuKsNkwXkyu2S1uuR6jN7B5zmsT1 X-Received: by 2002:a17:907:ea5:b0:6e7:fc88:14f7 with SMTP id ho37-20020a1709070ea500b006e7fc8814f7mr33915620ejc.337.1649747856274; Tue, 12 Apr 2022 00:17:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649747856; cv=none; d=google.com; s=arc-20160816; b=aq39067qXKmCVxLXS0k332nIi/Iw2ySQkGvHkismIGkn2++1He/UNjd2LhPKCu/kRa dQDO9zK0exN+bOzNrvNN7M2qu3/tj5zrRrqcsw1MrBZsLK8fN4qZVPTzG4l6V+hNe4XP u1U90hSapxRMPSK2JjNnfm+cTDm1TBmAStI+FZKLw3y9EKdFh1k/3V7eTPpDz4mZB/MA COKYfNiaRzO3JScQuObWYAqigFNn3oUtg+ORDX2N2AFGgO6zMCUqbFtMabeG20Y8h+FY X4B5Yjae0hfIc/kRoaRpaM1nUE7SxUlZgyCIO9cao0mZ3UNbkI0h1PCumK1K+zUedf6x 2iLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :reply-to:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=y9/RDfYGC6K6KRC0KdrprIVWfIX/zpdTiz9ROrz551U=; b=wcu3ZFM0xwgsD86TesMCvYETPyCHSgcFhvmkfTSqL0JNfkBp2VITO2SISDU13Sz1i5 5vzphYhP5W3bOAza9ZEv3lNZXyONAX0ay8vVbqIMz1WSYo7GIgsS3rEG8l/ti9HnzvaQ +/F6IdHuTQgmKpLqM0w703RIVO8SU8DhQFS2hqRyo/ckJshD8TWZFPLAZHOY6V4xu2fz axsah1u3a6wOzK9Ptp1Lw7Rz8kWw6WVQne4QGla5hcpkaSgC0FK60opJQ8gARXzx40JI xef6WId2tkLMnE6St6g0VIR9OWM1e9ygkxX2WkZF0rAAD2MnUe8jh9Bb0scsDO69mWQl 5E3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=I9nwx9hr; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=AzkdKu96; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wr5-20020a170907700500b006e8a20ff40bsi2219705ejb.303.2022.04.12.00.16.57; Tue, 12 Apr 2022 00:17:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=I9nwx9hr; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=AzkdKu96; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348916AbiDKRcC (ORCPT + 99 others); Mon, 11 Apr 2022 13:32:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348928AbiDKRb4 (ORCPT ); Mon, 11 Apr 2022 13:31:56 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28931BE3F; Mon, 11 Apr 2022 10:29:42 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id CB2971F38D; Mon, 11 Apr 2022 17:29:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1649698180; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y9/RDfYGC6K6KRC0KdrprIVWfIX/zpdTiz9ROrz551U=; b=I9nwx9hrwiLBwY8Cn2rQGBPnpBriJmDMs1b8oNISqOpk754k7ib2Xve0iYAZqqPcSD2SgP oZEA90HfyQ7ya+rehSXEh9k5AQbwstldp6HDVnl/WGBpQS17mVXtCGXXbsCypPUDUyaMdU y+Peaf55gboQyV27R4kCRTuYgY7wFX4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1649698180; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y9/RDfYGC6K6KRC0KdrprIVWfIX/zpdTiz9ROrz551U=; b=AzkdKu96rYkAsjhpJavWNTiZGL3Agdt16W1llO8/BhnjKgsTeGvgPw66Q+CklEVPEpPHBk JsD+WnrQfAy3whCQ== Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id B0827A3B87; Mon, 11 Apr 2022 17:29:40 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 47973DA7F7; Mon, 11 Apr 2022 19:25:36 +0200 (CEST) Date: Mon, 11 Apr 2022 19:25:36 +0200 From: David Sterba To: Christoph Hellwig Cc: Jens Axboe , dm-devel@redhat.com, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-um@lists.infradead.org, linux-block@vger.kernel.org, drbd-dev@lists.linbit.com, nbd@other.debian.org, ceph-devel@vger.kernel.org, virtualization@lists.linux-foundation.org, xen-devel@lists.xenproject.org, linux-bcache@vger.kernel.org, linux-raid@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-nvme@lists.infradead.org, linux-s390@vger.kernel.org, linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com, jfs-discussion@lists.sourceforge.net, linux-nilfs@vger.kernel.org, ntfs3@lists.linux.dev, ocfs2-devel@oss.oracle.com, linux-mm@kvack.org, "Martin K . Petersen" , Christoph =?iso-8859-1?Q?B=F6hmwalder?= , Ryusuke Konishi , David Sterba Subject: Re: [PATCH 25/27] block: add a bdev_discard_granularity helper Message-ID: <20220411172536.GV15609@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Christoph Hellwig , Jens Axboe , dm-devel@redhat.com, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-um@lists.infradead.org, linux-block@vger.kernel.org, drbd-dev@lists.linbit.com, nbd@other.debian.org, ceph-devel@vger.kernel.org, virtualization@lists.linux-foundation.org, xen-devel@lists.xenproject.org, linux-bcache@vger.kernel.org, linux-raid@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-nvme@lists.infradead.org, linux-s390@vger.kernel.org, linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com, jfs-discussion@lists.sourceforge.net, linux-nilfs@vger.kernel.org, ntfs3@lists.linux.dev, ocfs2-devel@oss.oracle.com, linux-mm@kvack.org, "Martin K . Petersen" , Christoph =?iso-8859-1?Q?B=F6hmwalder?= , Ryusuke Konishi , David Sterba References: <20220409045043.23593-1-hch@lst.de> <20220409045043.23593-26-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220409045043.23593-26-hch@lst.de> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-ext4@vger.kernel.org On Sat, Apr 09, 2022 at 06:50:41AM +0200, Christoph Hellwig wrote: > Abstract away implementation details from file systems by providing a > block_device based helper to retrieve the discard granularity. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Martin K. Petersen > Acked-by: Christoph B?hmwalder [btrfs] This ^^^^ is for drbd > Acked-by: Ryusuke Konishi > Acked-by: David Sterba [btrfs]