Jeff Mahoney
99b3a9ab2a
aio-stress: use calloc for thread_info array
...
The thread_info array is assumed to be initialized to 0s, but
that causes a segfault when MALLOC_PERTURB_ is set.
Signed-off-by: Jeff Mahoney <jeffm@suse.com >
Reviewed-by: Dave Chinner <dchinner@redhat.com >
Signed-off-by: Dave Chinner <dchinner@redhat.com >
2014-01-20 13:28:27 +11:00
Dave Kleikamp
a72607fada
xfstests: aio-stress is calling pthread_join incorrectly
...
The retval parameter to pthread_join() is a pointer to a pointer.
aio-stress is passing in a pointer to an int. This can result in a bus
error on sparc64 when the pointer is not aligned on a 64-bit boundary.
Since the return value is not used, it is simplest to pass a NULL
pointer instead.
This has been fixed in the LTP source:
https://github.com/linux-test-project/ltp/commit/981d33aad3b33c4625b88990fbf2fad5470d47e0
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com >
Reviewed-by: Dave Chinner <dchinner@redhat.com >
Signed-off-by: Ben Myers <bpm@sgi.com >
2013-06-26 11:21:38 -05:00
Dave Chinner
2093988d6d
xfstests: fix printf format warnings in aio-stress.c
...
Signed-off-by: Dave Chinner <david@fromorbit.com >
Reviewed-by: Christoph Hellwig <hch@lst.de >
2010-01-21 08:54:01 +11:00
Eric Sandeen
2341811efd
update aio-stress.c, with copyright information intact
...
Pulled from:
http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/kernel/io/ltp-aiodio/aio-stress.c
revision 1.8
There are a couple new options, but the main motivator is to
get the license text intact again.
Signed-off-by: Eric Sandeen <sandeen@redhat.com >
Reviewed-by: Christoph Hellwig <hch@lst.de >
2009-06-05 14:12:27 -05:00
Nathan Scott
d259454b19
Update copyright annotations and license boilerplates to correspond with SGI Legals preferences.
...
Merge of master-melb:xfs-cmds:24329a by kenmcd.
2005-11-09 02:50:19 +00:00
Nathan Scott
2446ccc509
Add AIO test 113 into the mix, enable AIO testing capability in local fsx.
...
Merge of master-melb:xfs-cmds:21487a by kenmcd.
2005-02-14 13:52:05 +00:00