xfs
[Top] [All Lists]

issue on dual cpu machine

To: <linux-xfs@xxxxxxxxxxx>
Subject: issue on dual cpu machine
From: "hatakeyama" <hatakeyama@xxxxxxxxxxxxxxxxxx>
Date: Wed, 4 Sep 2002 15:21:33 +0900
Importance: Normal
Sender: linux-xfs-bounce@xxxxxxxxxxx
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

Attachment: test2.c
Description: Binary data

Attachment: test.c
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>