system locks with vnode backed md(4)

2002-11-30 Thread Michal Mertl
Recently there was a discussion about jails on some freebsd list. Someone recommended vnconfig(8)ed file-backed disk for jail file systems. Terry wrote there are problems with it. I liked the idea and played with mdconfig(8)ed devices on current. Terry was right - I can easily make the system

Re: system locks with vnode backed md(4)

2002-11-30 Thread Michal Mertl
On Sat, 30 Nov 2002, Michal Mertl wrote: Including rwatson because of the thread on hackers@. Sorry for follow-up to myself. Recently there was a discussion about jails on some freebsd list. Someone recommended vnconfig(8)ed file-backed disk for jail file systems. Terry wrote there are

Re: system locks with vnode backed md(4)

2002-11-30 Thread Robert Watson
On Sat, 30 Nov 2002, Michal Mertl wrote: I'm now unable to make it dead-lock again. Yet it happened quite easily. I had more md backing files in the same directory at the beginning (to test Terry's suspicion mentioned in thread 'jail' on hackers@). I've noticed that chroot() environments

Re: system locks with vnode backed md(4)

2002-11-30 Thread Michal Mertl
Ok, I got another one. DDB output attached. I did all kinds of operations to trigger it - had 3 md mounted from the same dir, in 2 of them doing my ports.tgz torture test and in root file system I had 'find . -inum 1231231' running. One find finished succesfully but then it finally locked-up.

Re: system locks with vnode backed md(4)

2002-11-30 Thread Terry Lambert
Michal Mertl wrote: I'm now unable to make it dead-lock again. Yet it happened quite easily. I had more md backing files in the same directory at the beginning (to test Terry's suspicion mentioned in thread 'jail' on hackers@). After the first lock-up I tried 'while(1);tar xzf ports.tgz; rm

Re: system locks with vnode backed md(4)

2002-11-30 Thread Terry Lambert
Robert Watson wrote: On Sat, 30 Nov 2002, Michal Mertl wrote: I'm now unable to make it dead-lock again. Yet it happened quite easily. I had more md backing files in the same directory at the beginning (to test Terry's suspicion mentioned in thread 'jail' on hackers@). I've noticed that