Bug ID 1224434
Summary Page cache invalidation failure during direct I/O write
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware PowerPC-64
URL https://openqa.opensuse.org/tests/4202483/modules/AD033/steps/8
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-bugs@opensuse.org
Reporter avinesh.kumar@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By openQA
Blocker Yes

## Observation

openQA test in scenario
opensuse-Tumbleweed-DVD-ppc64le-ltp_aiodio_part1@ppc64le fails in
[AD033](https://openqa.opensuse.org/tests/4202483/modules/AD033/steps/8)

## Test suite description
LTP_ENV=TMPDIR=/var/tmp is to test on btrfs instead of tmpfs


## Reproducible

Fails since (at least) Build
[20240131](https://openqa.opensuse.org/tests/3907534)

Last good: Unknown

## Further details

Always latest result in this scenario:
[latest](https://openqa.opensuse.org/tests/latest?arch=ppc64le&distri=opensuse&flavor=DVD&machine=ppc64le&test=ltp_aiodio_part1&version=Tumbleweed)

--------

LTP Test -
https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/io/ltp-aiodio/aiocp.c

we run this test with various combinations of write block size and I/O numbers
(https://github.com/linux-test-project/ltp/blob/master/runtest/ltp-aiodio.part1)



failing scenarios on ppc64le:

AD033 aiocp -b 4k -n 4 -f DIRECT
AD035 aiocp -b 4k -n 8 -f DIRECT
AD037 aiocp -b 4k -n 16 -f DIRECT (few times doesn't fail)
AD039 aiocp -b 4k -n 32 -f DIRECT (few times doesn't fail)
AD047 aiocp -b 8k -n 4 -f DIRECT
AD049 aiocp -b 8k -n 8 -f DIRECT
AD051 aiocp -b 8k -n 16 -f DIRECT (few times doesn't fail)
AD061 aiocp -b 16k -n 4 -f DIRECT
AD063 aiocp -b 16k -n 8 -f DIRECT
AD075 aiocp -b 32k -n 4 -f DIRECT



dmesg log during each of these failures:

OpenQA::run_ltp.pm: Starting AD032
OpenQA::run_ltp.pm: Starting AD033
[ 48.470444][ T62] Page cache invalidation failure on direct I/O. Possible data
corruption due to collision with buffered I/O!
[ 48.471404][ T62] File: /var/tmp/LTP_aioTBsaEH/dstfile.bin PID: 62 Comm:
kworker/1:1
OpenQA::run_ltp.pm: Starting AD034
OpenQA::run_ltp.pm: Starting AD035


This issue is not present on aarch64 and x86_64 tumbleweed builds.
And on SLE15-SP6, we are not seeing this on ppc64le also.


You are receiving this mail because: