ext4: cache all of an extent tree's leaf block upon reading
authorTheodore Ts'o <tytso@mit.edu>
Sat, 17 Aug 2013 01:23:41 +0000 (21:23 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 17 Aug 2013 01:23:41 +0000 (21:23 -0400)
When we read in an extent tree leaf block from disk, arrange to have
all of its entries cached.  In nearly all cases the in-memory
representation will be more compact than the on-disk representation in
the buffer cache, and it allows us to get the information without
having to traverse the extent tree for successive extents.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>

No differences found