ext4: create a new BH_Verified flag to avoid unnecessary metadata validation
authorDarrick J. Wong <djwong@us.ibm.com>
Sun, 29 Apr 2012 22:21:10 +0000 (18:21 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Apr 2012 22:21:10 +0000 (18:21 -0400)
commitf84891289e62a74e9b4942eaad80617368b2d778
tree6e86704a9780dd6ed97f25ba1cd32d59ffebf430
parent69964ea4c7b68c9399f7977aa5b9aa6539a6a98a
ext4: create a new BH_Verified flag to avoid unnecessary metadata validation

Create a new BH_Verified flag to indicate that we've verified all the
data in a buffer_head for correctness.  This allows us to bypass
expensive verification steps when they are not necessary without
missing them when they are.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c
include/linux/jbd_common.h