rocksdb/include/rocksdb
Akanksha Mahajan d93bd3ce25 Add FileSystem wrapper classes for IO tracing. (#7002)
Summary:
1. Add the wrapper classes FileSystemTracingWrapper, FSSequentialFileTracingWrapper, FSRandomAccessFileTracingWrapper, FSWritableFileTracingWrapper, FSRandomRWFileTracingWrapper that forward the calls to underlying storage system and then pass the file operation information to IOTracer. IOTracer dumps the record in binary format for tracing.
2. Add the wrapper classes FileSystemPtr, FSSequentialFilePtr, FSRandomAccessFilePtr, FSWritableFilePtr and FSRandomRWFilePtr that overload operator-> and return ptr to underlying storage system or Tracing wrapper class based on enabling/disabling of IO tracing. These classes are added to bypass Tracing Wrapper classes when we disable tracing.
3. Add enums in trace.h that distinguish which options need to be added for different file operations(Read, close, write etc) as part of tracing record.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/7002

Test Plan: make check -j64

Reviewed By: anand1976

Differential Revision: D22127897

Pulled By: akankshamahajan15

fbshipit-source-id: 74cff58ce5661c9a3832dfaa52483f3b2d8565e0
2020-07-13 16:36:55 -07:00
..
utilities BackupEngine verifies table file checksums on creating new backups (#7015) 2020-07-02 18:15:12 -07:00
advanced_options.h Flag CompressionOptions::parallel_threads to be experimental (#6781) 2020-04-30 15:22:06 -07:00
c.h Add getters for options to the C API (#7094) 2020-07-10 14:30:04 -07:00
cache.h Add Functions to OptionTypeInfo (#6422) 2020-04-28 18:04:26 -07:00
cleanable.h
compaction_filter.h Compaction filter support for BlobDB (#6850) 2020-06-29 17:32:14 -07:00
compaction_job_stats.h
comparator.h
concurrent_task_limiter.h
convenience.h Add Functions to OptionTypeInfo (#6422) 2020-04-28 18:04:26 -07:00
db.h BackupEngine verifies table file checksums on creating new backups (#7015) 2020-07-02 18:15:12 -07:00
db_bench_tool.h
db_dump_tool.h
db_stress_tool.h
env.h Make it able to lower cpu priority to specific level in threadpool (#6969) 2020-06-13 13:25:20 -07:00
env_encryption.h Make EncryptEnv inheritable (#6830) 2020-06-22 13:27:16 -07:00
experimental.h
file_checksum.h Remove unnecessary inclusion of version_edit.h in env (#6952) 2020-06-07 21:56:55 -07:00
file_system.h Add FileSystem wrapper classes for IO tracing. (#7002) 2020-07-13 16:36:55 -07:00
filter_policy.h Add Functions to OptionTypeInfo (#6422) 2020-04-28 18:04:26 -07:00
flush_block_policy.h
io_status.h prototype status check enforcement (#6798) 2020-05-08 12:40:43 -07:00
iostats_context.h
iterator.h
ldb_tool.h
listener.h extend listener callback functions to more file I/O operations (#7055) 2020-07-07 18:21:18 -07:00
memory_allocator.h
memtablerep.h
merge_operator.h Fixed minor typo in comment for MergeOperator::FullMergeV2() (#6759) 2020-04-27 14:44:47 -07:00
metadata.h
options.h Make it able to lower cpu priority to specific level in threadpool (#6969) 2020-06-13 13:25:20 -07:00
perf_context.h Fix more defects reported by Coverity Scan (#6935) 2020-06-04 15:35:08 -07:00
perf_level.h
persistent_cache.h Fix persistent cache on windows (#6932) 2020-06-13 13:28:31 -07:00
rate_limiter.h
rocksdb_namespace.h
slice.h
slice_transform.h
snapshot.h
sst_dump_tool.h Add --version and --help to ldb and sst_dump (#6951) 2020-06-09 10:04:01 -07:00
sst_file_manager.h Add logs and stats in DeleteScheduler (#6927) 2020-06-05 09:43:04 -07:00
sst_file_reader.h
sst_file_writer.h Generate file checksum in SstFileWriter (#6859) 2020-05-20 11:55:31 -07:00
statistics.h Add logs and stats in DeleteScheduler (#6927) 2020-06-05 09:43:04 -07:00
stats_history.h
status.h Misc things for ASSERT_STATUS_CHECKED, also gcc 4.8.5 (#6871) 2020-05-23 06:53:37 -07:00
table.h Extend Get/MultiGet deadline support to table open (#6982) 2020-06-29 14:53:17 -07:00
table_properties.h Store DB identity and DB session ID in SST files (#6983) 2020-06-17 10:57:40 -07:00
thread_status.h
threadpool.h
trace_reader_writer.h
transaction_log.h
types.h
universal_compaction.h
version.h update minor version for 6.11 release (#6994) 2020-06-16 21:46:05 -07:00
wal_filter.h
write_batch.h
write_batch_base.h
write_buffer_manager.h