Igor Canadi 76f286cc82 Optimize bloom filter cache misses
Summary:
This optimizes the case when (cache_index_and_filter_blocks=1) and bloom filter is not present in the cache.

Previously we did:
1. Read meta block from file
2. Read the filter position from the meta block
3. Read the filter

Now, we pre-load the filter position on Table::Open(), so we can skip steps (1) and (2) on bloom filter cache miss. Instead of 2 IOs, we do only 1.

Test Plan: make check

Reviewers: sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D46047
2015-09-02 15:36:47 -07:00
..
2015-04-23 21:33:44 -07:00
2014-09-04 09:10:13 +08:00
2014-10-31 11:59:54 -07:00
2015-03-17 14:08:00 -07:00
2014-11-06 11:14:28 -08:00
2015-02-26 11:28:41 -08:00
2015-07-01 16:13:56 -07:00