2006-09-28 10:09:54

by Kasparek Tomas

[permalink] [raw]
Subject: 2.6.18 nfs-client bug - files contains blocks of zeros

Hi,

I have the foloving setup:

- NFS clients machines running vanilla 2.6.18 (config included) writing on
NFS mounted share on several NFS server (inc. Lin 2.6.16.28, FreeBSD 6.1
etc).

- when two or more clients try to write/append to the same file on NFS
share this file contains all the data writen + some blocks are padded
with zeros.

- I used this test script:

#!/bin/sh

while true; do
cat /tmp/data >>/pub/tmp/zeros.log
usleep 1000;
done

- /pub is the NFS share from Lin 2.6.16.28 server
- resulting zeros.log is included

Expect it may be related to this:

http://www.ussg.iu.edu/hypermail/linux/kernel/0604.3/1469.html
([PATCH INTRO] Re: [RFC] copy_from_user races with readpage)

The same clients running 2.6.16.28 are fine.

Is this known problem (have search vanila and nfs git repos but have not
found anything reasonable) or some new bug?

If you would like more infos please let me know.

(Please CC me as I'm not in the lists.)

Regards

--

Tomas Kasparek, PhD student E-mail: [email protected]
CVT FIT VUT Brno, BI/140a Web: http://www.fit.vutbr.cz/~kasparek
Bozetechova 2, 612 66 Fax: +420 54114-1270
Brno, Czech Republic Phone: +420 54114-1220

ICQ: 293092805 jabber: [email protected]
GPG: 2F1E 1AAF FD3B CFA3 1537 63BD DCBE 18FF A035 53BC


Attachments:
warning1.txt (541.00 B)
MESSAGE.TXT (1.31 kB)
MESSAGE.TXT
data (1.44 kB)
zeros.log-bad (47.53 kB)
Download all attachments