Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 1995 15:48:15 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        curt@mofo.emergent.com
Cc:        current@FreeBSD.org
Subject:   Re: kern/360: filesystem deadlock
Message-ID:  <199504250548.PAA17451@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>Synopsis:       filesystem deadlock trivial to produce

>	the filesystem deadlocks when installing a file to itself.
>	a ktrace shows a strange sequence:

>	at this point, deadlock with ps -l reporting ufslk2
>	
>>How-To-Repeat:

>	cd /tmp
>	cp /etc/termcap .
>	install -c -m 0644 termcap /tmp
>	>lockup<

I think the deadlock was fixed a couple of days ago.

>>Fix:
>	don't install a file to itself.	

I tried it anyway :-).  The mmapping stuff causes the installed copy to be
filled to the correct size with garbage.  No error is detected.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504250548.PAA17451>