cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c

LI Xin delphij at delphij.net
Fri Aug 3 00:50:27 PDT 2007


Dmitry Morozovsky wrote:
> Dear Xin,
> 
> On Fri, 3 Aug 2007, LI Xin wrote:
> 
> LX> >   Log:
> LX> >   MFp4 - Refine locking to eliminate some potential race/panics:
> LX> >   
> LX> >    - Copy before testing a pointer.  This closes a race window.
> LX> >    - Use msleep with the node interlock instead of tsleep.
> LX> >    - Do proper locking around access to tn_vpstate.
> LX> >    - Assert vnode VOP lock for dir_{atta,de}tach to capture
> LX> >      inconsistent locking.
> LX> >   
> LX> >   Suggested by:   kib
> LX> >   Submitted by:   delphij
> LX> >   Reviewed by:    Howard Su
> LX> >   Approved by:    re (tmpfs blanket)
> LX> 
> LX> Should have mentioned that this is done in response of pho@'s stress
> LX> test.  Thanks goes to him for all these hard work!
> 
> Should it fix panics I reported to you during last couple of days?

I just noticed your e-mail.  This sounds like a different problem.  I'm
working on another problem that kib@ has mentioned to me, which might be
related to this.

Cheers,
-- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20070803/5c931f83/signature.pgp


More information about the cvs-src mailing list