0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-28 19:58:53 +02: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;
opts.offset = offset;
opts.aio = this->aio;
opts.all = !this->opts.direct;
opts.all = false;
const mutable_buffer buf
{
scratch, length
@ -6492,7 +6492,7 @@ noexcept try
fs::read_opts opts;
opts.offset = offset;
opts.aio = this->aio;
opts.all = !this->opts.direct;
opts.all = false;
const mutable_buffer buf
{
scratch, length