aio_cancel/3-1: increase BUF_SIZE
PATCH 1/1 aio_cancel/3-1: increase BUF_SIZE
When do aio_cancel, all the aio_write operations have finished on some platforms. That cause the case return UNRESOLVED. So increase the BUF_SIZE to delay aio_write finish that make one aio_write operation can be cancelled at least.
--- .../conformance/interfaces/aio_cancel/3-1.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/3-1.c +1 -1
@@ -44,7 +44,7 @@#define TNAME "aio_cancel/3-1.c"#define BUF_NB 128 -#define BUF_SIZE 1024 +#define BUF_SIZE (1024 * 1024)static volatile int countdown =BUF_NB ;static volatile int canceled =0 ;
Signature · 12 lines
1.7.5.4 ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 6 lines · Kang Kai
When do
aio_cancel, all theaio_writeoperations have finished on some platforms. That cause the case return UNRESOLVED. So increase theBUF_SIZEto delayaio_writefinish that make oneaio_writeoperation can be cancelled at least.Signed-off-by Kang Kai <[email protected]>
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Ltp-list mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 8 lines · Caspar Zhang
Quoted 6 lines · Kang Kai
When do
aio_cancel, all theaio_writeoperations have finished on some platforms. That cause the case return UNRESOLVED. So increase theBUF_SIZEto delayaio_writefinish that make oneaio_writeoperation can be cancelled at least.Signed-off-by Kang Kai <[email protected]>Reviewed-by Caspar Zhang <[email protected]>
pushed, thanks all,
Wanlong Gao
Quoted 11 lines
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Ltp-list mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Ltp-list mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list