mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 14:31:11 +01:00
ircd::fs::aio: Relax assertion.
This commit is contained in:
parent
23b0674051
commit
cdd1fc2a9c
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ ircd::fs::aio::read(const vector_view<read_op> &op)
|
||||||
for(size_t i(0); i < num; ++i) try
|
for(size_t i(0); i < num; ++i) try
|
||||||
{
|
{
|
||||||
op[i].ret = request[i].complete();
|
op[i].ret = request[i].complete();
|
||||||
assert(op[i].ret == buffers::size(op[i].bufs) || !op[i].opts->blocking);
|
assert(!op[i].ret || op[i].ret == buffers::size(op[i].bufs) || !op[i].opts->blocking);
|
||||||
ret += op[i].ret;
|
ret += op[i].ret;
|
||||||
stats.bytes_read += op[i].ret;
|
stats.bytes_read += op[i].ret;
|
||||||
stats.reads++;
|
stats.reads++;
|
||||||
|
|
Loading…
Reference in a new issue