rocksdb/table
Giuseppe Ottaviano 69ec8356b2 Allow SstFileWriter to use the rate limiter
Summary:
The default IO priority of WritableFiles is IO_TOTAL, meaning that
they will bypass the rate limiter if it's passed in the options.

This change allows to pass an io priority in construction, so that by
setting IO_LOW or IO_HIGH the rate limit will be honored.

It also fixes a minor bug: SstFileWriter's copy and move constructor
are not disabled and incorrect, as any copy/move will result in a
double free. Switching to unique_ptr makes the object correctly
movable and non-copyable as expected.

Also fix minor style inconsistencies.
Closes https://github.com/facebook/rocksdb/pull/2335

Differential Revision: D5113260

Pulled By: sagar0

fbshipit-source-id: e084236e7ff0b50a56cbeceaa9fedd5e210bf9f8
2017-05-23 11:42:09 -07:00
..
adaptive_table_factory.cc
adaptive_table_factory.h
block.cc
block.h unbiase readamp bitmap 2017-05-10 01:49:52 -07:00
block_based_filter_block.cc
block_based_filter_block.h
block_based_filter_block_test.cc
block_based_table_builder.cc
block_based_table_builder.h
block_based_table_factory.cc
block_based_table_factory.h
block_based_table_reader.cc Remoe unused BlockBasedTable::compaction_optimized_ 2017-05-18 06:41:23 -07:00
block_based_table_reader.h Remoe unused BlockBasedTable::compaction_optimized_ 2017-05-18 06:41:23 -07:00
block_builder.cc
block_builder.h
block_prefix_index.cc
block_prefix_index.h
block_test.cc unbiase readamp bitmap 2017-05-10 01:49:52 -07:00
bloom_block.cc
bloom_block.h
cleanable_test.cc
cuckoo_table_builder.cc
cuckoo_table_builder.h
cuckoo_table_builder_test.cc Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
cuckoo_table_factory.cc
cuckoo_table_factory.h
cuckoo_table_reader.cc do not read next datablock if upperbound is reached 2017-05-05 23:20:01 -07:00
cuckoo_table_reader.h do not read next datablock if upperbound is reached 2017-05-05 23:20:01 -07:00
cuckoo_table_reader_test.cc Fixed some spelling mistakes 2017-05-17 23:12:36 -07:00
filter_block.h
flush_block_policy.cc
format.cc
format.h
full_filter_block.cc
full_filter_block.h
full_filter_block_test.cc
get_context.cc
get_context.h
index_builder.cc
index_builder.h
internal_iterator.h
iter_heap.h
iterator.cc
iterator_wrapper.h
merger_test.cc
merging_iterator.cc
merging_iterator.h
meta_blocks.cc
meta_blocks.h
mock_table.cc do not read next datablock if upperbound is reached 2017-05-05 23:20:01 -07:00
mock_table.h do not read next datablock if upperbound is reached 2017-05-05 23:20:01 -07:00
partitioned_filter_block.cc Object lifetime in cache 2017-05-05 23:20:01 -07:00
partitioned_filter_block.h Object lifetime in cache 2017-05-05 23:20:01 -07:00
partitioned_filter_block_test.cc
persistent_cache_helper.cc
persistent_cache_helper.h
persistent_cache_options.h
plain_table_builder.cc
plain_table_builder.h
plain_table_factory.cc
plain_table_factory.h
plain_table_index.cc
plain_table_index.h
plain_table_key_coding.cc
plain_table_key_coding.h
plain_table_reader.cc do not read next datablock if upperbound is reached 2017-05-05 23:20:01 -07:00
plain_table_reader.h do not read next datablock if upperbound is reached 2017-05-05 23:20:01 -07:00
scoped_arena_iterator.h
sst_file_writer.cc Allow SstFileWriter to use the rate limiter 2017-05-23 11:42:09 -07:00
sst_file_writer_collectors.h
table_builder.h
table_properties.cc
table_properties_internal.h
table_reader.h do not read next datablock if upperbound is reached 2017-05-05 23:20:01 -07:00
table_reader_bench.cc
table_test.cc Object lifetime in cache 2017-05-05 23:20:01 -07:00
two_level_iterator.cc do not read next datablock if upperbound is reached 2017-05-05 23:20:01 -07:00
two_level_iterator.h do not read next datablock if upperbound is reached 2017-05-05 23:20:01 -07:00