mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +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
|
||||
{
|
||||
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;
|
||||
stats.bytes_read += op[i].ret;
|
||||
stats.reads++;
|
||||
|
|
Loading…
Reference in a new issue