1*49cdfc7eSAndroid Build Coastguard Worker 2*49cdfc7eSAndroid Build Coastguard WorkerTESTS to check consistency between O_DIRECT reads/writes and buffered 3*49cdfc7eSAndroid Build Coastguard Workerreads/writes and truncate. 4*49cdfc7eSAndroid Build Coastguard Worker 5*49cdfc7eSAndroid Build Coastguard WorkerThese tests should be run from the aiodio directory and MUST use a kernel 6*49cdfc7eSAndroid Build Coastguard Workercompiled with GCC 3.3.X. Older versions of the compiler will fail and seg fault. 7*49cdfc7eSAndroid Build Coastguard Worker 8*49cdfc7eSAndroid Build Coastguard WorkerThe large file passed should be at least 25M to properly stress AIO & DIO. A 9*49cdfc7eSAndroid Build Coastguard Workersuggestion would be a tarred version of the gcc package. 10*49cdfc7eSAndroid Build Coastguard Worker 11*49cdfc7eSAndroid Build Coastguard WorkerRun the ltp-aiodio.sh file to execute all the tests. The tests can also be run 12*49cdfc7eSAndroid Build Coastguard Workerindividually, just execute the program and the excepted params will be output. 13*49cdfc7eSAndroid Build Coastguard WorkerNo scripts were created to run the test standalone. 14