Christos Zoulas <chris...@zoulas.com> wrote:

> Well, I think that this is a powerpc specific problem. Unfortunately it
> has been elusive... The tstile in the cv_wait() of the ioflush thread
> is common to all platforms (when the filesystem is unable to handle
> flushing a vnode).

Here is a script that reproduces the problem:

#!/bin/sh -ex

mkdir -p /nfstest/tmp
chmod 1777 /nfstest/tmp
grep '^/nfstest' /etc/exports ||
        echo "/nfstest localhost" >> /etc/exports

/etc/rc.d/mountd forcestart || true
/etc/rc.d/nfsd forcestart || true

mount -t nfs -o rw,soft,intr,tcp,-R=2 localhost:/nfstest /mnt
dd if=/dev/zero of=/mnt/tmp/test bs=1024k &
sleep 1
/etc/rc.d/nfsd onestop || true

umount -f -R /mnt &
ps -axlp $!




-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org

Reply via email to