xref: /aosp_15_r20/external/e2fsprogs/doc/RelNotes/v1.46.5.txt (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard WorkerE2fsprogs 1.46.5 (December 30, 2021)
2*6a54128fSAndroid Build Coastguard Worker====================================
3*6a54128fSAndroid Build Coastguard Worker
4*6a54128fSAndroid Build Coastguard WorkerUpdates/Fixes since v1.46.4:
5*6a54128fSAndroid Build Coastguard Worker
6*6a54128fSAndroid Build Coastguard WorkerUI and Features
7*6a54128fSAndroid Build Coastguard Worker---------------
8*6a54128fSAndroid Build Coastguard Worker
9*6a54128fSAndroid Build Coastguard WorkerWhen resizing a file system and the inode count exceeds the 2**32
10*6a54128fSAndroid Build Coastguard Workermaximum, if resize2fs can successfully perform the resize by dropping
11*6a54128fSAndroid Build Coastguard Workerthe last block group, resize2fs will do that in order to allow the file
12*6a54128fSAndroid Build Coastguard Workersystem grow operation to succeed.  For example, using the default inode
13*6a54128fSAndroid Build Coastguard Workerratio size of 16k, this will allow a successful resize to 64TB - 128MB
14*6a54128fSAndroid Build Coastguard Workerwhen the storage device is 64TB.
15*6a54128fSAndroid Build Coastguard Worker
16*6a54128fSAndroid Build Coastguard Worker
17*6a54128fSAndroid Build Coastguard WorkerFixes
18*6a54128fSAndroid Build Coastguard Worker-----
19*6a54128fSAndroid Build Coastguard Worker
20*6a54128fSAndroid Build Coastguard WorkerAvoid a potential infinite loop in resize2fs -P when the file system is
21*6a54128fSAndroid Build Coastguard Workercorrupted (introduced in e2fsprogs 1.45.5).  (Addresses github issue
22*6a54128fSAndroid Build Coastguard Workerhttps://github.com/tytso/e2fsprogs/issues/94)
23*6a54128fSAndroid Build Coastguard Worker
24*6a54128fSAndroid Build Coastguard WorkerE2fsck now updates the bg_checksum after fixing problems in the block
25*6a54128fSAndroid Build Coastguard Workergroup descriptor, which eliminates some unnecessary messages printed or
26*6a54128fSAndroid Build Coastguard Workerasked of the system administrator.
27*6a54128fSAndroid Build Coastguard Worker
28*6a54128fSAndroid Build Coastguard WorkerFixed some potential deadlock problems in the unix_io handler in the case
29*6a54128fSAndroid Build Coastguard Workerof I/O errors.  The fix should also improve the performance of parallel
30*6a54128fSAndroid Build Coastguard Workerbitmap loading.
31*6a54128fSAndroid Build Coastguard Worker
32*6a54128fSAndroid Build Coastguard WorkerFixed e2fsck's fast commit handling which could result it in crashing
33*6a54128fSAndroid Build Coastguard Workerwhen trying to merge extents when there were none available to be
34*6a54128fSAndroid Build Coastguard Workermerged.
35*6a54128fSAndroid Build Coastguard Worker
36*6a54128fSAndroid Build Coastguard WorkerFix e2fsck's support of quota limit data, which could sometimes get
37*6a54128fSAndroid Build Coastguard Workerdropped when the quota data needs to be regenerated, or when processing
38*6a54128fSAndroid Build Coastguard Workerthe orphan list.
39*6a54128fSAndroid Build Coastguard Worker
40*6a54128fSAndroid Build Coastguard WorkerFix tune2fs to correctly transfer the quota limits when converting quota
41*6a54128fSAndroid Build Coastguard Workerfiles to the internal quota inodes.  Also add support for tune2fs to
42*6a54128fSAndroid Build Coastguard Workerproperly handle the older version 0 quota files.
43*6a54128fSAndroid Build Coastguard Worker
44*6a54128fSAndroid Build Coastguard WorkerFix debugfs's get_quota and list_quota commands so that the header of
45*6a54128fSAndroid Build Coastguard Workerthe report printed by these commands correctly reflect that the units of
46*6a54128fSAndroid Build Coastguard Workerused space is in bytes instead of blocks.
47*6a54128fSAndroid Build Coastguard Worker
48*6a54128fSAndroid Build Coastguard Worker
49*6a54128fSAndroid Build Coastguard WorkerPerformance, Internal Implementation, Development Support etc.
50*6a54128fSAndroid Build Coastguard Worker--------------------------------------------------------------
51*6a54128fSAndroid Build Coastguard Worker
52*6a54128fSAndroid Build Coastguard WorkerAdd some additional packages to the setup-schroot script to account for
53*6a54128fSAndroid Build Coastguard Workerthe fact that the script can be run on older Debian distributions and so
54*6a54128fSAndroid Build Coastguard Workerthe build dependencies might omit some packages needed to build
55*6a54128fSAndroid Build Coastguard Workere2fsprogs on unstable version of Debian.
56*6a54128fSAndroid Build Coastguard Worker
57*6a54128fSAndroid Build Coastguard WorkerReduce resize2fs's CPU overhead when counting the number of blocks in
58*6a54128fSAndroid Build Coastguard Workeruse which can reduce the wall clock time for very large file systems
59*6a54128fSAndroid Build Coastguard Workerby substantial amount.
60*6a54128fSAndroid Build Coastguard Worker
61*6a54128fSAndroid Build Coastguard WorkerTeach libuuid to use getrandom() or getentropy() if available in favor
62*6a54128fSAndroid Build Coastguard Workerof reading from /dev/[u]random.
63*6a54128fSAndroid Build Coastguard Worker
64*6a54128fSAndroid Build Coastguard WorkerTeach libss to use libreadline.so.8 if it is available.
65*6a54128fSAndroid Build Coastguard Worker
66*6a54128fSAndroid Build Coastguard WorkerUpdate some test expect files to fix some regression tests that were
67*6a54128fSAndroid Build Coastguard Workerbroken in e2fsprogs 1.46.4.
68*6a54128fSAndroid Build Coastguard Worker
69*6a54128fSAndroid Build Coastguard WorkerIf the PRINT_FAILED environment variable is set, failed tests will
70*6a54128fSAndroid Build Coastguard Workerdisplay the diff output to make it easier to debug test failures on
71*6a54128fSAndroid Build Coastguard Workerautobuilders.
72*6a54128fSAndroid Build Coastguard Worker
73*6a54128fSAndroid Build Coastguard WorkerFix various compiler warnings.
74*6a54128fSAndroid Build Coastguard Worker
75*6a54128fSAndroid Build Coastguard WorkerUpdate tst_getsize to use ext2fs_get_size2() to support testing devices
76*6a54128fSAndroid Build Coastguard Workerwhich are larger than 2**32 sectors.
77*6a54128fSAndroid Build Coastguard Worker
78*6a54128fSAndroid Build Coastguard WorkerFixed spelling mistakes in the mke2fs.conf man page.
79*6a54128fSAndroid Build Coastguard Worker
80*6a54128fSAndroid Build Coastguard WorkerUpdate Chinese, Malay, Serbian, Spanish, Swedish, and Ukrainian
81*6a54128fSAndroid Build Coastguard Workertranslations.
82*6a54128fSAndroid Build Coastguard Worker
83