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:
parent
beb7a0c180
commit
29fd84010f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue