0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 23:10:54 +01:00

ircd::db: RocksDB does its own read loop for sequential_file.

This commit is contained in:
Jason Volk 2018-12-27 13:29:07 -08:00
parent beb7a0c180
commit 29fd84010f

View file

@ -6404,7 +6404,7 @@ noexcept try
fs::read_opts opts; fs::read_opts opts;
opts.offset = offset; opts.offset = offset;
opts.aio = this->aio; opts.aio = this->aio;
opts.all = !this->opts.direct; opts.all = false;
const mutable_buffer buf const mutable_buffer buf
{ {
scratch, length scratch, length
@ -6492,7 +6492,7 @@ noexcept try
fs::read_opts opts; fs::read_opts opts;
opts.offset = offset; opts.offset = offset;
opts.aio = this->aio; opts.aio = this->aio;
opts.all = !this->opts.direct; opts.all = false;
const mutable_buffer buf const mutable_buffer buf
{ {
scratch, length scratch, length