History log of /external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5271b00a7cb41ae0b2ceb6de3aa752afceb15737 11-Oct-2017 Petr Vorel <pvorel@suse.cz> m4: Fix libaio detection on 32-bit cross build

This fixes link problems when libaio.h but but libaio not (e.g. on
32-bit cross build).

+ remove duplicite check for libaio.h in configure.ac
(added in ef77253961).

Signed-off-by: Petr Vorel <pvorel@suse.cz>
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
d14b8ab99f52c3152d268615d3bee53c4e4e49ce 12-Oct-2017 Petr Vorel <pvorel@suse.cz> io/aiocp: Exit with TCONF when libaio is not available

Signed-off-by: Petr Vorel <pvorel@suse.cz>
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
bff04bfa64332ca2e8027b54b2ad8b27599f066a 29-Apr-2015 Cyril Hrubis <chrubis@suse.cz> aiocp: fix segfault in dev_block_size_by_path()

When aiocp is inwoked with '-f DIRECT -z infile' or
'-f DIRECT -w outfile' the corresponding path will be NULL
and we will segfault in strncmp(path, mnt->mnt_dir, prefix_len);

Signed-off-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
ec751de3f54a659eadd48b76d152c8292064fa7a 08-Apr-2015 Cyril Hrubis <chrubis@suse.cz> aiocp: Add block size detection.

The testcase fails with O_DIRECT on drives with block sizes > 512
(which was hardcoded in the test source).

This commit adds detection for the drive block size and forces the right
aligment and file size if needed.

It also aborts the test if requested block size is not multiple of drive
block size. (The test exits with 0 in this case, TCONF would be better
but we would have to fix the rest of the test to be compatible with the
LTP library first.)

The failures were found on s390x where DASD has 4k block size.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
d218f348c12b42a78fa0306d9a033bfa4f67238b 23-Sep-2014 Cyril Hrubis <chrubis@suse.cz> Remove useless malloc() casts.

Created with coccinelle patch:

@@
expression E1, E2;
type T;
@@
- E1 = (T)malloc(E2)
+ E1 = malloc(E2)

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
354ebb48db8e66a853a58379a4808d5dcd1ceac3 07-Dec-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> cleanup code indent

Cleanup the code indent using:

find . -name *.c -exec Lindent {} \;

It's really a big change, but can fix almost all of
the indent problem in C code, although we can't
ensure all of the changes are right, but the error
changes are really few.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
ec6edca7aa42b6affd989ef91b5897f96795e40f 18-Oct-2012 Chris Dearman <chris@mips.com> Add missing newline at end of file

This is a scripted change done using the following command:

find . -type d -name .git -prune -o \
-type f \! -name \*\~ \! -name .\#\* \
\! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \
xargs -0 sed -i -e '$a\'

Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
2c28215423293e443469a07ae7011135d058b671 16-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Style and conformance changes.

1. Strip all leading space.
2. Move tst_exit() to main().
3. Remove tst_exit() from cleanup().
4. Remove cluebat comments.
5. Reduce some unnecessary whitespace.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
ef77253961f909f87e82e6d2b620e87af33e9665 09-Oct-2009 yaberauneya <yaberauneya> 1. Please see README.mk-devel for a full description of the changes
from a Make perspective.
2. Several files were changed to accomodate correct installation
practices, most notably ones in testcases/network/{ipv6,tcp_cmds},
testcases/kernel/sched/hyperthreading/ht_enabled/..., and some items
in tools/..., and also to avoid collisions as far as installed
testcases (scripts, compiled C apps) were concerned.
3. Several apps weren't autoconf safe and some autoconf tests and
conditional statements have been placed in sourcecode and in Makefiles
to either a) prevent the tests from being built / installed or b) turn
the tests into dummy apps which print out TCONF messages due to
lack-of-build support.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
bdbaec51a423e715c2b03ed9e497e9a1fba6103e 26-Feb-2009 subrata_modak <subrata_modak> Clean Trailing Tab: Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
4bb656a129f7507823e9e6d6b98b1a02fd80ef89 26-Feb-2009 subrata_modak <subrata_modak> Clear Trailing Whitespace. Signed-off-by: Michal Simek <monstr@monstr.eu>.
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
71f04850da8347713831208db6347e74feede880 04-Oct-2005 robbiew <robbiew> Updated aiocp to the latest level. See http://developer.osdl.org/daniel/AIO/
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c
ae3ebf888bf9bd7660ee8b1a0d05dcbe5c9f4dd1 26-Feb-2004 robbiew <robbiew> Relocated the ltp-aiodio directory to the /testcases/kernel/io directory.
/external/ltp/testcases/kernel/io/ltp-aiodio/aiocp.c