From: Fu, Elva <elva.fu@in...> - 2006-11-08 02:50:31
You are right. Though there are invalid request exist, the num_received =
still should equal to NUM_AIOCBS. I suggest to check the value of =
num_received against NUM_AIOCBS instead of simply dropping these lines =
out, for we still need to check whether the requests are completed or =
not. If num_received is not equal to NUM_AIOCBS, the test case still =
From: posixtest-discuss-bounces@... =
[mailto:posixtest-discuss-bounces@...] On Behalf Of Yi =
Sent: 2006=C4=EA10=D4=C223=C8=D5 22:41
To: posixtest-discuss@...; =
Subject: [posixtest-discuss] patch for lio_listio_14_1
When there are 10 write request queued with the 2nd request invalid as =
(sometimes) the sigrt1_handler still works for all requests, so =
will be equal to NUM_AIOCBS.
And for this invalid request, we can get output like this:
lio_listio/14-1.c req 2: error =3D 9 - return =3D -1
which indicates this request has failed, but all other requests =
Since the test purpose in the original "method" field is to check good =
do not fail:
* - open a file for writing
* - submit a list with an invalid aiocb to lio_listio in =
* - check that the good requests do not fail
maybe it isn't necessary to let the testcase fail when num_received =
equal to NUM_AIOCBS-1.
Please review. Thanks.
Get latest updates about Open Source Projects, Conferences and News.