android_kernel_xiaomi_sm8350/fs/ext4
Girish Shilamkar 818d276ceb ext4: Add the journal checksum feature
The journal checksum feature adds two new flags i.e
JBD2_FEATURE_INCOMPAT_ASYNC_COMMIT and JBD2_FEATURE_COMPAT_CHECKSUM.

JBD2_FEATURE_CHECKSUM flag indicates that the commit block contains the
checksum for the blocks described by the descriptor blocks.
Due to checksums, writing of the commit record no longer needs to be
synchronous. Now commit record can be sent to disk without waiting for
descriptor blocks to be written to disk. This behavior is controlled
using JBD2_FEATURE_ASYNC_COMMIT flag. Older kernels/e2fsck should not be
able to recover the journal with _ASYNC_COMMIT hence it is made
incompat.
The commit header has been extended to hold the checksum along with the
type of the checksum.

For recovery in pass scan checksums are verified to ensure the sanity
and completeness(in case of _ASYNC_COMMIT) of every transaction.

Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: Girish Shilamkar <girish@clusterfs.com>
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
2008-01-28 23:58:27 -05:00
..
acl.c Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid check 2007-07-17 12:00:03 -07:00
acl.h
balloc.c ext4: add block bitmap validation 2008-01-28 23:58:27 -05:00
bitmap.c fs: mark nibblemap const 2007-10-17 08:42:47 -07:00
dir.c ext4: Introduce ext4_lblk_t 2008-01-28 23:58:27 -05:00
ext4_jbd2.c
extents.c ext4: Make ext4_get_blocks_wrap take the truncate_mutex early. 2008-01-28 23:58:27 -05:00
file.c ext4: store maxbytes for bitmapped files and return EFBIG as appropriate 2008-01-28 23:58:27 -05:00
fsync.c ext4: sparse fixes 2007-10-17 18:50:03 -04:00
group.h ext4: add ext4_group_t, and change all group variables to this type. 2008-01-28 23:58:27 -05:00
hash.c
ialloc.c ext4: Rename i_dir_acl to i_size_high 2008-01-28 23:58:27 -05:00
inode.c ext4: Take read lock during overwrite case. 2008-01-28 23:58:29 -05:00
ioctl.c ext4: Convert truncate_mutex to read write semaphore. 2008-01-28 23:58:26 -05:00
Makefile
namei.c ext4: remove unused code from ext4_find_entry() 2008-01-28 23:58:27 -05:00
namei.h
resize.c ext4: add ext4_group_t, and change all group variables to this type. 2008-01-28 23:58:27 -05:00
super.c ext4: Add the journal checksum feature 2008-01-28 23:58:27 -05:00
symlink.c
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c ext4: sparse fixes 2007-10-17 18:50:03 -04:00
xattr.h ext4: Expand extra_inodes space per the s_{want,min}_extra_isize fields 2007-07-18 09:19:57 -04:00