fsstress: add AIO read/write and fsync test
authorZorro Lang <zlang@redhat.com>
Tue, 18 Jul 2017 14:37:13 +0000 (22:37 +0800)
committerEryu Guan <eguan@redhat.com>
Fri, 28 Jul 2017 10:53:50 +0000 (18:53 +0800)
commit3fcc2c75bf13686ce92b5f1a365ca24a95577382
treef3d3c32c78abb1dc135246e5fe1b08b68fc86228
parent80499d8f5f251e41fe5de6720a0cb98fe4b63233
fsstress: add AIO read/write and fsync test

We found some bugs by aio read/write test, but there's no such
operations in fsstress. So add AIO test into fsstress to increase
AIO stress test.

Due to most kernels don't support aio fsync, so set its test
frequency to zero as default.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
ltp/fsstress.c