diff options
author | Akanksha Mahajan <akankshamahajan@fb.com> | 2020-09-08 12:20:20 -0700 |
---|---|---|
committer | Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> | 2020-09-08 12:21:58 -0700 |
commit | 0de335e0768c804b376af96d5d1f82f700412615 (patch) | |
tree | 7feabd57bb45e296d1fe0845e2976a01dfcaa35a /.travis.yml | |
parent | 8a8a01c642c513cae9a058d7286db971d49044e0 (diff) |
Use FSRandomRWFilePtr Object to call underlying file system. (#7198)
Summary:
Replace FSRandomRWFile pointer with FSRandomRWFilePtr object in the rocksdb internal code.
This new object wraps FSRandomRWFile pointer.
Objective: If tracing is enabled, FSRandomRWFile object returns FSRandomRWFileTracingWrapper pointer that includes all necessary information in IORecord and calls underlying FileSystem and invokes IOTracer to dump that record in a binary file. If tracing is disabled then, underlying FileSystem pointer is returned directly.
FSRandomRWFilePtr wrapper class is added to bypass the FSRandomRWFileWrapper when
tracing is disabled.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/7198
Test Plan: make check -j64
Reviewed By: anand1976
Differential Revision: D23421116
Pulled By: akankshamahajan15
fbshipit-source-id: 8a5ba0e7d9c1ba34c3a6f29829b107c5f09ab6a3
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions