Project

General

Profile

Actions

Bug #40985

closed

xfstest generic/451 intermittently fails

Added by Jeff Layton almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

xfstest generic/451 runs a program that does AIO+DIO writes to a file and then rereads the data back (via synchronous, buffered pread) to verify it. This program generally works fine, but the test also spawns a bunch of other processes that read the file over and over again using buffered reads. With the concurrent readers the verification usually (though not always) fails with stale data from the buffered read:

$ src/aio-dio-regress/aio-dio-cycle-write -c 999999 -b 655360 /mnt/cephfs/tst-aio-dio-cycle-write.451
get stale data from buffer read
00000000  aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa  ................
*
0009d000  55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55  UUUUUUUUUUUUUUUU
*
0009f000  aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa  ................
000a0000
Actions

Also available in: Atom PDF