Re: VFS locking questions

2007-08-06 Thread Pawel Jakub Dawidek
On Fri, Aug 03, 2007 at 09:29:33PM +0200, Ulf Lilleengen wrote: Hi, I have a couple of questions regarding VFS, since I'm trying to SMPify the fdescfs code in an effort to get some experience with VFS and freebsd locking... What is really LK_INTERLOCK? When should it be used? When should

Re: VFS locking questions

2007-08-06 Thread Kostik Belousov
On Mon, Aug 06, 2007 at 01:10:18PM +0200, Pawel Jakub Dawidek wrote: On Fri, Aug 03, 2007 at 09:29:33PM +0200, Ulf Lilleengen wrote: Hi, I have a couple of questions regarding VFS, since I'm trying to SMPify the fdescfs code in an effort to get some experience with VFS and freebsd

VFS locking questions

2007-08-03 Thread Ulf Lilleengen
Hi, I have a couple of questions regarding VFS, since I'm trying to SMPify the fdescfs code in an effort to get some experience with VFS and freebsd locking... What is really LK_INTERLOCK? When should it be used? When should one acquire it (with VI_LOCK i assume), and what are the semantics?