From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3297DC3DA6E for ; Wed, 3 Jan 2024 07:57:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=37eUrM0OQ1qCkv1uWZyGED5m0medXxAGlsnWDxUno00=; b=cA2pzH01SACGIimq/yKzgpw39z N7uD/615jnYGXRY1S6DPXx8cq7jseCDy+o3jaAFzoeOcyMKeDmiz6hq+sJkRJXw+EU1fLhYucf5Xg 8Imj5OfU6EHYXSmegwPd2XiuMti/SqJh3k7BNSxbLTWj+PH9eJQM0T2RvVfbbBKWODwrY9kxjESVb oc2gJegQDsXiEcXsFQrb62phCz5Bwbq4mz2OcyxcfYPsfTH1xW3JL1UJje9/laeQDCiU7unM3n/64 GHrU9HCbGnNFNwoTAGCjVcyzGTuljvmpwTIYH64nKJyFLZ5F3+iaSZb5hPJTHM/XEF274aTOxAWFZ 4mfTjHTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rKw8F-00A1sw-0O; Wed, 03 Jan 2024 07:57:43 +0000 Received: from verein.lst.de ([213.95.11.211]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rKw8B-00A1rA-29; Wed, 03 Jan 2024 07:57:41 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id E3A7D68B05; Wed, 3 Jan 2024 08:57:29 +0100 (CET) Date: Wed, 3 Jan 2024 08:57:29 +0100 From: Christoph Hellwig To: John Pittman Cc: Christoph Hellwig , Jens Axboe , Richard Weinberger , Anton Ivanov , Josef Bacik , Minchan Kim , Sergey Senozhatsky , Coly Li , Miquel Raynal , Vignesh Raghavendra , linux-um@lists.infradead.org, linux-block@vger.kernel.org, nbd@other.debian.org, linux-bcache@vger.kernel.org, linux-mtd@lists.infradead.org Subject: Re: [PATCH 3/9] block: default the discard granularity to sector size Message-ID: <20240103075729.GA485@lst.de> References: <20231228075545.362768-1-hch@lst.de> <20231228075545.362768-4-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240102_235739_850057_76A5CA1C X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+linux-um=archiver.kernel.org@lists.infradead.org On Tue, Jan 02, 2024 at 05:11:19PM -0500, John Pittman wrote: > Hi Christoph, is there a reason you used 512 instead of SECTOR_SIZE > from include/linux/blk_types.h? Thanks! To match the logical_block_size/physical_block_size/io_min assignments just below.