Skip to content

Conversation

@edgargabriel
Copy link
Member

This commit fixes a bug discovered while debugging issue #8350 Running our testsuite on Mac OS revealed that posted a large number of non-blocking read/write operations leads to an error message on this platform. A fix is already available and will be committed shortly.

The issue stems from limitations on macOs and the concurrent number of aio_read/aio_write operations that can be pending. While the code already handled that correctly for a single request, this bug exposed that the overall limited has to be respected across all pending requests.

The solution is to invoke mca_common_ompio_progress if we cannot post new aio operations.

Fixes issue #8368

Signed-off-by: Edgar Gabriel [email protected]
(cherry picked from commit 0c4f4e2)

This commit fixes a bug discovered while debugging issue open-mpi#8350 Running our testsuite on Mac OS revealed that posted a large number of non-blocking read/write operations leads to an error message on this platform. A fix is already available and will be committed shortly.

The issue stems from limitations on macOs and the concurrent number of aio_read/aio_write operations that can be pending. While the code already handled that correctly for a single request, this bug exposed that the overall limited has to be respected across all pending requests.

The solution is to invoke mca_common_ompio_progress if we cannot post new aio operations.

Fixes issue open-mpi#8368

Signed-off-by: Edgar Gabriel <[email protected]>
(cherry picked from commit 0c4f4e2)
@edgargabriel edgargabriel added this to the v4.1.1 milestone Jan 13, 2021
@jsquyres jsquyres changed the title fbtl/posix: ensure progressing aio requests v4.1.x: fbtl/posix: ensure progressing aio requests Jan 13, 2021
@jsquyres
Copy link
Member

bot:ompi:retest

@gpaulsen
Copy link
Member

Merged into v4.0.x

@jsquyres jsquyres merged commit 53bb30f into open-mpi:v4.1.x Jan 19, 2021
@edgargabriel edgargabriel deleted the pr/aio_progress-v4.1.x branch March 3, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants