Skip to content

Commit 3fb0614

Browse files
committed
mark the request as ACTIVE
1 parent 5e166c8 commit 3fb0614

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ompi/mca/io/ompio/io_ompio_file_read.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ int ompio_io_ompio_file_iread (mca_io_ompio_file_t *fh,
225225

226226
ompio_req = OBJ_NEW(mca_ompio_request_t);
227227
ompio_req->req_type = MCA_OMPIO_REQUEST_READ;
228+
ompio_req->req_ompi.req_state = OMPI_REQUEST_ACTIVE;
228229

229230
if ( 0 == count ) {
230231
ompi_request_complete (&ompio_req->req_ompi, 0);

ompi/mca/io/ompio/io_ompio_file_write.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ int ompio_io_ompio_file_iwrite (mca_io_ompio_file_t *fh,
215215

216216
ompio_req = OBJ_NEW(mca_ompio_request_t);
217217
ompio_req->req_type = MCA_OMPIO_REQUEST_WRITE;
218+
ompio_req->req_ompi.req_state = OMPI_REQUEST_ACTIVE;
218219

219220
if ( 0 == count ) {
220221
ompi_request_complete (&ompio_req->req_ompi, 0);

0 commit comments

Comments
 (0)