Skip to content

Commit

Permalink
fixup! aio: Add io_uring method
Browse files Browse the repository at this point in the history
  • Loading branch information
anarazel committed Dec 20, 2024
1 parent 49a016f commit c5605c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend/storage/aio/method_io_uring.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ pgaio_uring_submit(uint16 num_staged_ios, PgAioHandle **staged_ios)

sqe = io_uring_get_sqe(uring_instance);

if (!sqe)
elog(ERROR, "io_uring submission queue is unexpectedly full");

pgaio_io_prepare_submit(ioh);
pgaio_uring_sq_from_io(ioh, sqe);

Expand Down

0 comments on commit c5605c4

Please sign in to comment.