diff options
author | Daniel Black <daniel@mariadb.org> | 2022-03-10 18:15:25 +1100 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2022-03-12 16:16:47 +1100 |
commit | f4fb6cb3fe645040ae9046fa8cbd9f29d5fe745d (patch) | |
tree | b15ac6468ee631562450336bf2f18387d6e78d31 /tpool | |
parent | bd1ba7801fc0a69c145dba8b825944f58e22449d (diff) | |
download | mariadb-git-f4fb6cb3fe645040ae9046fa8cbd9f29d5fe745d.tar.gz |
MDEV-27900: aio handle partial reads/writes (uring)
MDEV-27900 continued for uring.
Also spell synchronously correctly in sql_parse.cc.
Reviewed by Wlad.
Diffstat (limited to 'tpool')
-rw-r--r-- | tpool/aio_liburing.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tpool/aio_liburing.cc b/tpool/aio_liburing.cc index cca95bb6d37..b8666482193 100644 --- a/tpool/aio_liburing.cc +++ b/tpool/aio_liburing.cc @@ -161,6 +161,8 @@ private: } io_uring_cqe_seen(&aio->uring_, cqe); + if (iocb->m_ret_len != iocb->m_len && !iocb->m_err) + finish_synchronous(iocb); // If we need to resubmit the IO operation, but the ring is full, // we will follow the same path as for any other error codes. |