fellow_log: fix io completion in logbuffer flush finish

parent 625592f3
......@@ -3125,9 +3125,11 @@ logbuffer_flush_finish_work_one(struct fellow_logbuffer_ff *ff)
ff_free:
if (ff->fdil.ioctx) {
(void) fellow_io_log_wait_completions(
ffd->membuddy,
ff->fdil.ioctx, UINT_MAX);
do {
u = fellow_io_log_wait_completions(
ffd->membuddy,
ff->fdil.ioctx, UINT_MAX);
} while (u);
fellow_fd_ioctx_return(&ff->fdil);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment