Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp353007pxb; Thu, 21 Jan 2021 08:37:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3npteSoqxhb0JxwpB+I6ie3l5OUAjB7qL1NaZM5oIv8efXqC7Qg1srcJZAL205EEnY/Bt X-Received: by 2002:a05:6402:1914:: with SMTP id e20mr11825365edz.89.1611247021897; Thu, 21 Jan 2021 08:37:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611247021; cv=none; d=google.com; s=arc-20160816; b=G5UeDLnLvTyhHVlXEgznFhLfF6DMz8G/2Ag8WsgmFpSuza+8w6VwNQOg/xki0yL1F4 xOVs/NzWKXK51/KH0OXVnHGem5rVHAgOY971Fz5IXW48utxJfzWcdSmqY7GIZ+/Ndnwp dsa3fYVgVVRyEjdv7cZ+3AR1HW7jY00cUOokiRzL/GCE7TRPDSTSY8Akic9FDWS0YFi6 uIb+ijxLv408zr27nZAKGbJzoRtpxj4ZVwFR3B/ViMda0dhdlS+M2h0AIKlNF4274PU0 HhZCE/eVXvSJkUAHJW2WeRithrN81f/hrJxC26ueN9MK7qYuS4ULFiZ89hDkgPEDR0sL bXMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=61TJ5R8hmxqsIlVgn9wMaw1Qq42uI3VbrlMjLmZoFzA=; b=vz/Zvslfs0YVj5nv7+po/jMRcImDMwe1MBd6RnjIMmlJStPfDo4pbxOgiPwWjpCnXM 8w0yc8s7F7SoUBq6I5+y7m8nr10qh/OVWm/FqvCLhUg679lnkkowiuR3YMGzO00aMO1z f7ovqSr+kdmENCgLU7mt95Oo4hgKJLpE7W2lo0Fp6YfrNgXvzpw2fYI74zKj9lRiV9fE 2Uc170qFGm1xIkZa0cW1SjeYiNrdj2Gg7a2RO1omJeW/vqnj8UEcAdF0yVBqtxNH9fW+ 8K6P2CVbXfVyAtpz1OWj0gzIuBubSNmKBBBEG7ib4QS6zTP76WPK6vmIpdfbY61ixic/ DZ+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 gx11si2009187ejb.357.2021.01.21.08.36.35; Thu, 21 Jan 2021 08:37:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-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-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732611AbhAUQeN (ORCPT + 99 others); Thu, 21 Jan 2021 11:34:13 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:59095 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732591AbhAUP7A (ORCPT ); Thu, 21 Jan 2021 10:59:00 -0500 Received: from cwcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 10LFw3Vb004705 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Jan 2021 10:58:03 -0500 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 37B4B15C35F5; Thu, 21 Jan 2021 10:58:03 -0500 (EST) Date: Thu, 21 Jan 2021 10:58:03 -0500 From: "Theodore Ts'o" To: Harshad Shirwadkar Cc: linux-ext4@vger.kernel.org Subject: Re: [PATCH v3 05/15] e2fsprogs: make userspace tools number of fast commits blocks aware Message-ID: References: <20210120212641.526556-1-user@harshads-520.kir.corp.google.com> <20210120212641.526556-6-user@harshads-520.kir.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210120212641.526556-6-user@harshads-520.kir.corp.google.com> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Jan 20, 2021 at 01:26:31PM -0800, Harshad Shirwadkar wrote: > From: Harshad Shirwadkar > > This patch makes number of fast commit blocks configurable. Also, the > number of fast commit blocks can now be seen in dumpe2fs output. > > $ ./misc/mke2fs -O fast_commit -t ext4 image > mke2fs 1.46-WIP (20-Mar-2020) > Discarding device blocks: done > Creating filesystem with 5120 1k blocks and 1280 inodes > Allocating group tables: done > Writing inode tables: done > Creating journal (1040 blocks): done > Writing superblocks and filesystem accounting information: done > > $ ./misc/dumpe2fs image > dumpe2fs 1.46-WIP (20-Mar-2020) > ... > Journal features: (none) > Total journal size: 1040k > Total journal blocks: 1040 > Max transaction length: 1024 > Fast commit length: 16 > Journal sequence: 0x00000001 > Journal start: 0 > > $ ./misc/mke2fs -O fast_commit -t ext4 image -J fast_commit_size=256,size=1 > mke2fs 1.46-WIP (20-Mar-2020) > Creating filesystem with 5120 1k blocks and 1280 inodes > Allocating group tables: done > Writing inode tables: done > Creating journal (1280 blocks): done > Writing superblocks and filesystem accounting information: done > > $ ./misc/dumpe2fs image > dumpe2fs 1.46-WIP (20-Mar-2020) > ... > Journal features: (none) > Total journal size: 1280k > Total journal blocks: 1280 > Max transaction length: 1024 > Fast commit length: 256 > Journal sequence: 0x00000001 > Journal start: 0 > > This patch also adds information about fast commit feature in mke2fs > and tune2fs man pages. > > Signed-off-by: Harshad Shirwadkar Thanks, applied. - Ted