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

2007-11-25 Thread Xin LI
delphij 2007-11-26 06:46:44 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c tmpfs_vnops.c Log: MFC MFp4: Several fixes to tmpfs which makes it to survive from pho@'s strees2

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

2007-11-17 Thread Xin LI
delphij 2007-11-18 04:52:41 UTC FreeBSD src repository Modified files: sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c tmpfs_vnops.c Log: MFp4: Several fixes to tmpfs which makes it to survive from pho@'s strees2 suite, to quote his letter, th

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

2007-08-10 Thread Xin LI
delphij 2007-08-10 11:00:31 UTC FreeBSD src repository Modified files: sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vnops.c Log: MFp4: - LK_RETRY prohibits vget() and vn_lock() to return error. Remove associated code. [1] - Properly use vhold() and vdrop() instead o

Re: [src] cvs commit: src/sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c tmpfs_vnops.c

2007-08-10 Thread Kostik Belousov
On Fri, Aug 10, 2007 at 05:24:54AM +, Xin LI wrote: > delphij 2007-08-10 05:24:49 UTC > > FreeBSD src repository > > Modified files: > sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c > tmpfs_vnops.c > Log: > MFp4: > >- Respect cnflag

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

2007-08-09 Thread Xin LI
delphij 2007-08-10 05:24:49 UTC FreeBSD src repository Modified files: sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c tmpfs_vnops.c Log: MFp4: - Respect cnflag and don't lock vnode always as LK_EXCLUSIVE [1] - Properly lock around tn_v

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

2007-08-03 Thread LI Xin
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 i

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

2007-08-03 Thread LI Xin
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 i

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

2007-08-03 Thread Dmitry Morozovsky
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 lock

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

2007-08-02 Thread LI Xin
Xin LI wrote: > delphij 2007-08-03 06:24:31 UTC > > FreeBSD src repository > > Modified files: > sys/fs/tmpfs tmpfs.h tmpfs_subr.c > Log: > MFp4 - Refine locking to eliminate some potential race/panics: > >- Copy before testing a pointer. This closes a race window

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

2007-08-02 Thread Xin LI
delphij 2007-08-03 06:24:31 UTC FreeBSD src repository Modified files: sys/fs/tmpfs tmpfs.h tmpfs_subr.c Log: MFp4 - Refine locking to eliminate some potential race/panics: - Copy before testing a pointer. This closes a race window. - Use msleep with the node in

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

2007-07-11 Thread Xin LI
delphij 2007-07-11 14:26:27 UTC FreeBSD src repository Modified files: sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c Log: MFp4: Make use of the kernel unit number allocation facility for tmpfs nodes. Submitted by: Mingyan Guo Approved by:re (tmpfs blank

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

2007-07-08 Thread Xin LI
delphij 2007-07-08 15:56:12 UTC FreeBSD src repository Modified files: sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_vfsops.c tmpfs_vnops.c Log: MFp4: - Plug memory leak. - Respect underlying vnode's properties rather than assuming that the

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

2007-06-25 Thread Xin LI
delphij 2007-06-25 18:46:14 UTC FreeBSD src repository Modified files: sys/fs/tmpfs tmpfs.h tmpfs_subr.c tmpfs_uma.c tmpfs_uma.h tmpfs_vfsops.c tmpfs_vnops.c Log: MFp4: Several clean-ups and improvements over tmpfs: - Remove tmpfs_zone_xxx