1f08c3bdfSopenharmony_ci#DESCRIPTION:Direct IO tests 2f08c3bdfSopenharmony_ci## Complete a default run. 3f08c3bdfSopenharmony_cidio01 diotest1 4f08c3bdfSopenharmony_cidio02 diotest2 5f08c3bdfSopenharmony_cidio03 diotest3 6f08c3bdfSopenharmony_cidio04 diotest4 7f08c3bdfSopenharmony_cidio05 diotest5 8f08c3bdfSopenharmony_cidio06 diotest6 9f08c3bdfSopenharmony_ci 10f08c3bdfSopenharmony_ci## Run the tests with larger buffersize 11f08c3bdfSopenharmony_cidio07 diotest1 -b 65536 12f08c3bdfSopenharmony_cidio08 diotest2 -b 65536 13f08c3bdfSopenharmony_cidio09 diotest3 -b 65536 14f08c3bdfSopenharmony_cidio10 diotest4 -b 65536 15f08c3bdfSopenharmony_cidio11 diotest5 -b 65536 16f08c3bdfSopenharmony_cidio12 diotest6 -b 65536 17f08c3bdfSopenharmony_ci 18f08c3bdfSopenharmony_ci### Run the tests with larger iterations 19f08c3bdfSopenharmony_cidio13 diotest1 -b 65536 -n 2000 20f08c3bdfSopenharmony_cidio14 diotest2 -b 65536 -i 1000 21f08c3bdfSopenharmony_cidio15 diotest3 -b 65536 -i 1000 22f08c3bdfSopenharmony_cidio16 diotest5 -b 65536 -i 1000 23f08c3bdfSopenharmony_cidio17 diotest6 -b 65536 -i 1000 24f08c3bdfSopenharmony_ci 25f08c3bdfSopenharmony_ci## Run the tests with larger offset - 1MB 26f08c3bdfSopenharmony_cidio18 diotest2 -b 65536 -i 1000 -o 1024000 27f08c3bdfSopenharmony_cidio19 diotest3 -b 65536 -i 1000 -o 1024000 28f08c3bdfSopenharmony_cidio20 diotest5 -b 65536 -i 1000 -o 1024000 29f08c3bdfSopenharmony_cidio21 diotest6 -b 65536 -i 1000 -o 1024000 30f08c3bdfSopenharmony_ci 31f08c3bdfSopenharmony_ci## Run the tests with larger offset - 100 MB 32f08c3bdfSopenharmony_cidio22 diotest2 -b 65536 -i 1000 -o 104857600 33f08c3bdfSopenharmony_cidio23 diotest3 -b 65536 -i 1000 -o 104857600 34f08c3bdfSopenharmony_cidio24 diotest5 -b 65536 -i 1000 -o 104857600 35f08c3bdfSopenharmony_cidio25 diotest6 -b 65536 -i 1000 -o 104857600 36f08c3bdfSopenharmony_ci 37f08c3bdfSopenharmony_ci### Run tests with larger vector array 38f08c3bdfSopenharmony_cidio26 diotest6 -b 8192 -v 100 39f08c3bdfSopenharmony_cidio27 diotest6 -b 8192 -o 1024000 -i 1000 -v 100 40f08c3bdfSopenharmony_cidio28 diotest6 -b 8192 -o 1024000 -i 1000 -v 200 41f08c3bdfSopenharmony_ci 42f08c3bdfSopenharmony_ci### Run the tests with more children 43f08c3bdfSopenharmony_cidio29 diotest3 -b 65536 -n 100 -i 100 -o 1024000 44f08c3bdfSopenharmony_cidio30 diotest6 -b 65536 -n 100 -i 100 -o 1024000 45f08c3bdfSopenharmony_ci# 46f08c3bdfSopenharmony_ci# RAW DEVICE TEST SECTION 47f08c3bdfSopenharmony_ci# DEV1 and DEV2 should be exported prior to execution or 48f08c3bdfSopenharmony_ci# replaced with the actual device ids, i.e. 49f08c3bdfSopenharmony_ci# dio33 diotest1 -i /dev/sda2 -o /dev/sda3 50f08c3bdfSopenharmony_ci# 51f08c3bdfSopenharmony_ci### Run the tests with raw device 52f08c3bdfSopenharmony_ci#dio33 diotest1 -i $DEV1 -o $DEV2 53f08c3bdfSopenharmony_ci#dio34 diotest2 -f $DEV1 54f08c3bdfSopenharmony_ci#dio36 diotest3 -f $DEV1 55f08c3bdfSopenharmony_ci#dio37 diotest5 -f $DEV1 56f08c3bdfSopenharmony_ci#dio38 diotest6 -f $DEV1 57f08c3bdfSopenharmony_ci# 58f08c3bdfSopenharmony_ci### Run the tests with raw device and larger iterations 59f08c3bdfSopenharmony_ci#dio39 diotest1 -b 65536 -n 2000 -i $DEV1 -o $DEV2 60f08c3bdfSopenharmony_ci#dio40 diotest2 -b 65536 -i 1000 -f $DEV1 61f08c3bdfSopenharmony_ci#dio41 diotest3 -b 65536 -i 1000 -f $DEV1 62f08c3bdfSopenharmony_ci#dio42 diotest5 -b 65536 -i 1000 -f $DEV1 63f08c3bdfSopenharmony_ci#dio43 diotest6 -b 65536 -i 1000 -f $DEV1 64f08c3bdfSopenharmony_ci# 65f08c3bdfSopenharmony_ci## Run the tests with raw device and larger offset - 100 MB 66f08c3bdfSopenharmony_ci#dio44 diotest2 -b 65536 -i 1000 -o 104857600 -f $DEV1 67f08c3bdfSopenharmony_ci#dio45 diotest3 -b 65536 -i 1000 -o 104857600 -f $DEV1 68f08c3bdfSopenharmony_ci#dio46 diotest5 -b 65536 -i 1000 -o 104857600 -f $DEV1 69f08c3bdfSopenharmony_ci#dio47 diotest6 -b 65536 -i 1000 -o 104857600 -f $DEV1 70f08c3bdfSopenharmony_ci 71