]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcbeeeaf3121e5114be691d6205b2a438213e27a4
tree6e86704a9780dd6ed97f25ba1cd32d59ffebf430
parentda784a22d14b058c5764405c2bcf72806d256141
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