tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VOP_PUTPAGE ignores mount_nfs -o soft,intr



Christos Zoulas <christos%zoulas.com@localhost> 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
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index