FATAL error fsyncing in fileio with mode=mmap
Bug #1262178 reported by
Ignacio Nin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
sysbench | Status tracked in Trunk | |||||
0.4 |
New
|
Undecided
|
Unassigned | |||
Trunk |
Fix Committed
|
Undecided
|
Ignacio Nin |
Bug Description
When using fileio with file-io-mode=mmap, sysbench fails to fsync the files with the rather cryptic message:
FATAL: Failed to fsync file! id: 0 fd: 3 errno = 0 (Success)
Notice errno is not activated, because fsync() actually succeded. The error comes from a skewered sysbench/
To reproduce:
$ sysbench --test=fileio --file-num=1 --file-
$ sysbench --test=fileio --file-num=1 --file-
Related branches
lp://staging/~ignacio-nin/sysbench/0.5-bug1262178
- Alexey Kopytov: Approve
-
Diff: 15 lines (+2/-2)1 file modifiedsysbench/tests/fileio/sb_fileio.c (+2/-2)
To post a comment you must log in.
Dear Mr. Nin,
Thank you for the bug report and the contributed fix!