Hi,
I found an issue on dual cpu machine.
Description:
the xfs couldn't follow append-write semantics correctly.
After the file was opened with O_APPEND flag, then seek the
file position of EOF before each writing. After several seconds,
we found that the data was not written one by one, that means
some of them have been overwritten.
Configuration:
VERSION:2.4.17(xfs-0225-all.patch)
Dual Intel pentium III 900
2G RAM
--------
You can reproduce the issue with the attached files as below:
chdir to a xfs, run
# test
kill this process, the files size exceed 40 MB.
and verify as below:
# test2 testfile*
--------
Regards,
hatake
test2.c
Description: Binary data
test.c
Description: Binary data
|