rocksdb/table/cuckoo
haoyuhuang 705b8eecb4 Add more callers for table reader. (#5454)
Summary:
This PR adds more callers for table readers. These information are only used for block cache analysis so that we can know which caller accesses a block.
1. It renames the BlockCacheLookupCaller to TableReaderCaller as passing the caller from upstream requires changes to table_reader.h and TableReaderCaller is a more appropriate name.
2. It adds more table reader callers in table/table_reader_caller.h, e.g., kCompactionRefill, kExternalSSTIngestion, and kBuildTable.

This PR is long as it requires modification of interfaces in table_reader.h, e.g., NewIterator.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5454

Test Plan: make clean && COMPILE_WITH_ASAN=1 make check -j32.

Differential Revision: D15819451

Pulled By: HaoyuHuang

fbshipit-source-id: b6caa704c8fb96ddd15b9a934b7e7ea87f88092d
2019-06-20 14:31:48 -07:00
..
cuckoo_table_builder_test.cc Move some memory related files from util/ to memory/ (#5382) 2019-05-30 17:44:09 -07:00
cuckoo_table_builder.cc Organizing rocksdb/table directory by format 2019-05-30 14:51:11 -07:00
cuckoo_table_builder.h Organizing rocksdb/table directory by format 2019-05-30 14:51:11 -07:00
cuckoo_table_factory.cc Organizing rocksdb/table directory by format 2019-05-30 14:51:11 -07:00
cuckoo_table_factory.h Organizing rocksdb/table directory by format 2019-05-30 14:51:11 -07:00
cuckoo_table_reader_test.cc Add more callers for table reader. (#5454) 2019-06-20 14:31:48 -07:00
cuckoo_table_reader.cc Add more callers for table reader. (#5454) 2019-06-20 14:31:48 -07:00
cuckoo_table_reader.h Add more callers for table reader. (#5454) 2019-06-20 14:31:48 -07:00