[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YAmki3FAmXhgK/SH@mit.edu>
Date: Thu, 21 Jan 2021 10:58:03 -0500
From: "Theodore Ts'o" <tytso@....edu>
To: Harshad Shirwadkar <harshadshirwadkar@...il.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH v3 05/15] e2fsprogs: make userspace tools number of fast
commits blocks aware
On Wed, Jan 20, 2021 at 01:26:31PM -0800, Harshad Shirwadkar wrote:
> From: Harshad Shirwadkar <harshadshirwadkar@...il.com>
>
> 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 <harshadshirwadkar@...il.com>
Thanks, applied.
- Ted
Powered by blists - more mailing lists