History log of /external/e2fsprogs/lib/ext2fs/kernel-jbd.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
478360f50b68356849813f97db46fd156da5248e 30-May-2016 Theodore Ts'o <tytso@mit.edu> Fix Android build warnings

Also fix some additional gcc -Wall build warnings in a traditional
Linux environment.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
f08999053e512771ad20650886b2abb637a02a45 17-Apr-2016 Theodore Ts'o <tytso@mit.edu> Fix build failure if --config-jbd-debug isn't enabled

This fixes a bug that was introduced recently in commit 1fc23b5e77.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
1fc23b5e773a7a30130842a8091af546d5dd9875 16-Apr-2016 Theodore Ts'o <tytso@mit.edu> Fix support for configure --enable-jbd-debug

We haven't used this in a while, so it's bitrotted a bit. Fix it up
so that it works correctly.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
82e48fb1637a2b6d4d789516eae57d27fefb605e 18-Mar-2016 Theodore Ts'o <tytso@mit.edu> Fix various clang and gcc -Wall warnings

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
77b3e9871877fce9908b0696250787fd6ea61af9 24-Oct-2015 Darrick J. Wong <darrick.wong@oracle.com> libext2fs: clean up feature test macros with predicate functions

Create separate predicate functions to test/set/clear feature flags,
thereby replacing the wordy old macros. Furthermore, clean out the
places where we open-coded feature tests.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
81f95d43d52adef4d46a9c60d4cbb98ed5043062 26-May-2015 Theodore Ts'o <tytso@mit.edu> libext2fs, libe2p, misc: git rid of jfs_user.h

Having multiple versions of jfs_user.h was confusing the Android
build. Clean up things by removing the lib/ext2fs/jfs_user.h and
misc/jfs_user.h and simplifying how we emulate the kernel
infrastructure needed by journal replay code and removing the
kernel-specific lines from kernel-jbd.h.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
1224c0d3ea3dd278f5f4e48fa024e0cdb5e656b1 04-Nov-2014 Eric Sandeen <sandeen@redhat.com> endian-annotate most on-disk structures

This annotates most on-disk structures for endianness;
however it does not annotate some, like the superblock, inodes,
mmp, etc, as these are swapped in-place at this point. This is
a little inconsistent, but should help catch some endian mistakes,
at least.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
38d5adf33993264d8db78ebb3d924e9d9e155590 09-Sep-2014 Darrick J. Wong <darrick.wong@oracle.com> e2fsck/debugfs: fix descriptor block size handling errors with journal_csum

It turns out that there are some serious problems with the on-disk
format of journal checksum v2. The foremost is that the function to
calculate descriptor tag size returns sizes that are too big. This
causes alignment issues on some architectures and is compounded by the
fact that some parts of jbd2 use the structure size (incorrectly) to
determine the presence of a 64bit journal instead of checking the
feature flags. These errors regrettably lead to the journal
corruption reported by Mr. Reardon.

Therefore, introduce journal checksum v3, which enlarges the
descriptor block tag format to allow for full 32-bit checksums of
journal blocks, fix the journal tag function to return the correct
sizes, and fix the jbd2 recovery code to use feature flags to
determine 64bitness.

Add a few function helpers so we don't have to open-code quite so
many pieces.

Switching to a 16-byte block size was found to increase journal size
overhead by a maximum of 0.1%, to convert a 32-bit journal with no
checksumming to a 32-bit journal with checksum v3 enabled.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reported-by: TR Reardon <thomas_reardon@hotmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
97f168b67eb1d0b46ec08bf2751313604e67fc16 27-Aug-2014 Darrick J. Wong <darrick.wong@oracle.com> e2fsck: resync jbd2 revoke code from Linux 3.16

Synchronize e2fsck's copy of revoke.c with the kernel's copy in
fs/jbd2.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
643fd7e7aac21f02e61f0fcbe58b4433d67c862c 29-Jul-2014 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next
9c2c1e9a3d12563c68d6817b609bbfec0af149cb 28-Jul-2014 Azat Khuzhin <a3at.mail@gmail.com> tune2fs: update journal users while updating fs UUID (with external journal)

When we have fs with external journal device, and updating it's UUID, we
should update UUID in users list for that external journal device.

Before:
$ tune2fs -U clear /tmp/dev
tune2fs 1.42.10 (18-May-2014)
$ dumpe2fs /tmp/dev | fgrep UUID
dumpe2fs 1.42.10 (18-May-2014)
Filesystem UUID: <none>
Journal UUID: da1f2ed0-60f6-aaaa-92fd-738701418523
$ dumpe2fs /tmp/journal | fgrep users -A10
dumpe2fs 1.42.10 (18-May-2014)
Journal number of users: 2
Journal users: 0707762d-638e-4bc6-944e-ae8ee7a3359e
0ad849df-1041-4f0a-b1c1-2f949d6a1e37

After:
$ sudo tune2fs -U clear /tmp/dev
tune2fs 1.43-WIP (18-May-2014)
$ dumpe2fs /tmp/dev | fgrep UUID
dumpe2fs 1.42.10 (18-May-2014)
Filesystem UUID: <none>
Journal UUID: da1f2ed0-60f6-aaaa-92fd-738701418523
$ dumpe2fs /tmp/journal | fgrep users -A10
dumpe2fs 1.42.10 (18-May-2014)
Journal number of users: 2
Journal users: 0707762d-638e-4bc6-944e-ae8ee7a3359e
00000000-0000-0000-0000-000000000000

Also add some consts to avoid *magic numbers*:
- UUID_STR_SIZE
- UUID_SIZE
- JFS_USERS_MAX
- JFS_USERS_SIZE

Proposed-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Azat Khuzhin <a3at.mail@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
93061ea0f4d9f94579d09480f17dd47169c82081 21-Jun-2013 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
RELEASE-NOTES
version.h
b49d67ddd8af9568bd5eee319af0479f042db4fd 17-Jun-2013 Theodore Ts'o <tytso@mit.edu> Use ext2fs_cpu_to_be32() instead of cpu_to_be32() in kernel-jbd.h

Avoid compatibility problems by using the byte swapping functions
defined by e2fsprogs, instead of the ones defined in the system header
files. We use them everywhere else, so we should use them in
kernel-jbd.h too.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
0e7e7c8ef89cf32fdb1210bfde1feb90880c327b 10-Sep-2012 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:
lib/ext2fs/ext2fs.h
3e752286b915a895a97a81d2d08d83fddca22737 03-Aug-2012 Darrick J. Wong <djwong@us.ibm.com> libext2fs: enable support for the metadata checksumming feature

Add metadata checksumming to the list of supported features.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
d920038068bbda80df9060be55da5726a6efe9a4 03-Aug-2012 Darrick J. Wong <djwong@us.ibm.com> e2fsck: verify data block checksums when recovering journal

Check the data block checksums when recovering the journal.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
2556373a33c694a277ebd6e35d16384dff2dc692 03-Aug-2012 Darrick J. Wong <djwong@us.ibm.com> libext2fs: change on-disk journal layout to support metadata checksumming

Define flags and change journal structure definitions to support v2 journal
checksumming.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
054e5a9ccf8d65e015f2af85bfddd3fda3a0472f 26-Oct-2009 Valerie Aurora Henson <vaurora@redhat.com> Add 64bit option to known incompatible file system options

Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
efc6f628e15de95bcd13e4f0ee223cb42115d520 28-Aug-2008 Theodore Ts'o <tytso@mit.edu> Remove trailing whitespace for the entire source tree

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
185c4aeaf23d48375e3506218305031663203d0f 23-May-2008 Theodore Ts'o <tytso@mit.edu> e2fsck: Add support to check journal checksums

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
dec5cd13fff821d1d3f6a922fbd986b3a86abb77 15-Nov-2006 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall complaints in libext2fs

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
48e6e81362f264aee4f3945c14928efaf71a06c9 06-Jul-2003 Theodore Ts'o <tytso@mit.edu> Fixx gcc -Wall nitpicks.
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
ed78c021c3b111d8ab9a51aef5d5156e3004083f 06-Mar-2003 Theodore Ts'o <tytso@mit.edu> Fix up lots of portability problems that caused e2fsprogs not to build successfully
under Solaris.
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
7d4343d0d05ce69e0a72da5ac34eea415d4c789f 12-Feb-2002 Theodore Ts'o <tytso@mit.edu> Lots of small random portability fixes to make e2fsprogs build
under AIX --- even without the 5L compatibility toolkit, and even
using the uber-crippled AIX native C compiler.
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h
19007e51a548d1e0eff01025dde9f147a0beb26d 24-Dec-2001 Theodore Ts'o <tytso@mit.edu> Move linux/jbd.h to ext2fs/kernel-jbd.h, to avoid using the
system header file version of hbd.h when using diet glibc
(since it forcibly adds /usr/include to the beginning of include
search path.)
/external/e2fsprogs/lib/ext2fs/kernel-jbd.h