Go to file
Harshad Shirwadkar 06def17e2f Make userspace tools number of fast commits blocks aware
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@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2021-01-21 10:57:22 -05:00
config Update gettext files to version 0.19.8 2020-11-25 11:55:46 -05:00
contrib Merge branch 'maint' into next 2021-01-19 23:58:57 -05:00
debian v1.45.6 2020-03-21 22:34:30 -04:00
debugfs e2fsck: port fc changes from kernel's recovery.c to e2fsck 2021-01-21 10:53:46 -05:00
doc release notes: delete two files that are fully contained within v1.41.txt 2020-10-27 23:41:06 -04:00
e2fsck Make userspace tools number of fast commits blocks aware 2021-01-21 10:57:22 -05:00
ext2ed Define MKDIR_P in the Makefile.in files instead in MCONFIG.in 2020-10-04 23:05:01 -04:00
include e2fsprogs: fix Free Software Foundation address 2018-04-19 11:39:09 -04:00
install-utils Remove Changelog files since they're not used after the git migration 2007-07-08 08:50:41 -04:00
lib libext2fs: provide APIs to configure fast commit blocks 2021-01-21 10:55:24 -05:00
misc Make userspace tools number of fast commits blocks aware 2021-01-21 10:57:22 -05:00
po po: reapply local e2fsprogs chages to po/Makefile.in.in 2020-11-25 11:56:05 -05:00
resize ext2fs: move calculate_summary_stats to ext2fs lib 2021-01-21 10:53:46 -05:00
scrub Define MKDIR_P in the Makefile.in files instead in MCONFIG.in 2020-10-04 23:05:01 -04:00
tests Merge branch 'maint' into next 2021-01-19 23:58:57 -05:00
util Define MKDIR_P in the Makefile.in files instead in MCONFIG.in 2020-10-04 23:05:01 -04:00
.gitignore misc: add e2mmpstatus utility via dumpe2fs 2018-06-22 18:22:37 -04:00
.missing-copyright Many files: 1997-04-29 16:15:03 +00:00
.release-checklist Stop generating e2fsprogs.spec automatically 2018-08-18 11:06:23 -04:00
ABOUT-NLS Update gettext files to version 0.19.8 2020-11-25 11:55:46 -05:00
acinclude.m4 configure: don't fail if /usr/include/sys/mount.h does not exist 2019-11-13 13:55:29 -05:00
aclocal.m4 Add configure and build support for the pthreads library 2021-01-21 10:50:40 -05:00
Android.bp AOSP: Turn off some more warnings on Windows. 2019-04-22 13:35:03 -04:00
CleanSpec.mk AOSP: e2fsdroid and mke2fs are dynamic executable in recovery partition 2018-06-27 23:51:40 -04:00
configure Add configure and build support for the pthreads library 2021-01-21 10:50:40 -05:00
configure.ac Add configure and build support for the pthreads library 2021-01-21 10:50:40 -05:00
depfix.sed Update Release Notes, Changelogs, version.h, etc. for 1.42 release 2011-11-29 16:48:14 -05:00
e2fsprogs.lsm Update release notes, etc., for the 1.45.6 release 2020-03-21 00:24:04 -04:00
e2fsprogs.spec Update release notes, etc., for the 1.45.6 release 2020-03-21 00:24:04 -04:00
INSTALL Fix typos in code comments and developer docs 2017-10-15 23:00:11 -04:00
INSTALL.elfbin Fix typos in code comments and developer docs 2017-10-15 23:00:11 -04:00
Makefile.in Merge branch 'maint' into next 2021-01-19 23:58:57 -05:00
MCONFIG.in Add configure and build support for the pthreads library 2021-01-21 10:50:40 -05:00
NOTICE e2fsprogs: fix Free Software Foundation address 2018-04-19 11:39:09 -04:00
README Update release notes, etc., for the 1.45.6 release 2020-03-21 00:24:04 -04:00
RELEASE-NOTES Update release notes, etc., for the 1.45.6 release 2020-03-21 00:24:04 -04:00
SHLIBS Many files: 1997-04-29 16:15:03 +00:00
SUBMITTING-PATCHES Added SUBMITTING-PATCHES file 2005-07-05 22:30:13 -05:00
version.h v1.45.6 2020-03-21 22:34:30 -04:00
wordwrap.pl Fix wordwrap.pl so it is more portable 2012-09-21 12:50:04 -04:00

	This is the new version (1.45.6) of the second extended file
system management programs.

	From time to time, I release new versions of e2fsprogs, to fix
bugs and to make the utilities more robust.  You can always find
information about the latest version at the the e2fsprogs web page,
which is:

	http://e2fsprogs.sourceforge.net

	The INSTALL file has instructions on building and installing
e2fsprogs.  Provisions for building Red Hat RPMs and Debian dpkg files
are supplied as well.

	In case of bugs in these programs, please contact Ted Ts'o at
tytso@mit.edu or tytso@alum.mit.edu.  See the e2fsck man page for
suggestions of what sort of information to include when submitting bug
reports for these programs.