cvs commit: src/sys/kern vfs_cache.c src/sys/nfsclient nfs_vnops.c

2008-09-24 Thread John Baldwin
jhb 2008-09-24 18:51:33 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c sys/nfsclientnfs_vnops.c Log: SVN rev 183330 on 2008-09-24 18:51:33Z by jhb Part 1 of making shared lookups more resilient with respect to forced unmounts.

cvs commit: src/sys/kern vfs_cache.c

2008-09-18 Thread John Baldwin
jhb 2008-09-18 20:04:22 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c Log: SVN rev 183155 on 2008-09-18 20:04:22Z by jhb Sort includes. Revision ChangesPath 1.125 +8 -8 src/sys/kern/vfs_cache.c

cvs commit: src/sys/kern vfs_cache.c

2008-08-23 Thread John Baldwin
jhb 2008-08-23 15:13:39 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c Log: SVN rev 182061 on 2008-08-23 15:13:39Z by jhb Fix a race condition with concurrent LOOKUP namecache operations for a vnode not in the namecache when shared lookups

cvs commit: src/sys/kern vfs_cache.c

2008-08-16 Thread Alfred Perlstein
alfred 2008-08-16 21:48:10 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c Log: SVN rev 181793 on 2008-08-16 21:48:10Z by alfred Prevent crashes due to unlocked access to hash buckets in two sysctls. Use CACHE_LOCK to prevent crashes.

cvs commit: src/sys/kern vfs_cache.c src/sys/security/audit audit_bsm_klib.c src/sys/sys vnode.h

2008-07-31 Thread Christian S.J. Peron
csjp2008-07-31 16:57:41 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c sys/security/audit audit_bsm_klib.c sys/sys vnode.h Log: SVN rev 181060 on 2008-07-31 16:57:41Z by csjp Currently, BSM audit pathname token

Re: cvs commit: src/sys/kern vfs_cache.c src/sys/security/audit audit_bsm_klib.c src/sys/sys vnode.h

2008-07-31 Thread Christian S.J. Peron
On Thu, Jul 31, 2008 at 04:57:41PM +, Christian S.J. Peron wrote: Further, the string parsing routines have been converted to use the sbuf(9) framework. This change also removes the conditional acquisition of Giant, since the vn_fullpath1 method will not dip into file system

cvs commit: src/sys/kern vfs_cache.c

2008-04-09 Thread Pawel Jakub Dawidek
pjd 2008-04-09 20:19:55 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c Log: - Use LK_TYPE_MASK where needed. Actually after sys/sys/lockmgr.h:1.69 it is no longer needed, but for now we still want to be consistent with other similar

cvs commit: src/sys/kern vfs_cache.c src/sys/sys vnode.h

2008-03-31 Thread Konstantin Belousov
kib 2008-03-31 11:53:03 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c sys/sys vnode.h Log: Add the utility function vn_commname() to retrieve the command name from the vfs namecache, when available. Reviewed by:

cvs commit: src/sys/kern vfs_cache.c

2007-11-22 Thread Kris Kennaway
kris2007-11-22 21:26:25 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c Log: Remove remaining Giant acquisition around vn_fullpath1. This was missed in r1.106 and has not been required for some years now. Reviewed by: jeff MFC After:

cvs commit: src/sys/kern vfs_cache.c vfs_lookup.c

2007-09-21 Thread Pawel Jakub Dawidek
pjd 2007-09-21 10:16:56 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c vfs_lookup.c Log: Fix some locking cases where we ask for exclusively locked vnode, but we get shared locked vnode in instead when vfs.lookup_shared is set to 1.

cvs commit: src/sys/kern vfs_cache.c

2007-06-18 Thread Pawel Jakub Dawidek
pjd 2007-06-18 09:28:25 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c Log: We only flush entries related to the given file system. Currently there are no 'invalid' cache entires - file system is responsible for keeping it that way. The

cvs commit: src/sys/kern vfs_cache.c

2007-05-25 Thread Pawel Jakub Dawidek
pjd 2007-05-25 22:19:49 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c Log: We no longer need to put namecache entries onto temporary mplist. It was useful in revision 1.86, but should have been removed in 1.89. Revision ChangesPath

cvs commit: src/sys/kern vfs_cache.c

2007-05-25 Thread Pawel Jakub Dawidek
pjd 2007-05-25 22:23:38 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c Log: To avoid a deadlock when handling .. directory during a lookup, we unlock parent vnode and relock it after locking child vnode. The problem was that we always relock

cvs commit: src/sys/kern vfs_cache.c

2007-05-22 Thread Pawel Jakub Dawidek
pjd 2007-05-22 23:05:49 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c Log: - Remove redundant initialization. - Compare pointer with NULL. Revision ChangesPath 1.109 +1 -2 src/sys/kern/vfs_cache.c

cvs commit: src/sys/kern vfs_cache.c

2006-09-04 Thread Christian S.J. Peron
csjp2006-09-05 03:23:02 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern vfs_cache.c Log: MFC vfs_cache.c revision 1.106 Axe Giant from vn_fullpath(9). The vnode - pathname lookup should be filesystem agnostic. We are not

cvs commit: src/sys/kern vfs_cache.c

2006-06-15 Thread Christian S.J. Peron
csjp2006-06-16 05:09:28 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c Log: Axe Giant from vn_fullpath(9). The vnode - pathname lookup should be filesystem agnostic. We are not touching any file system specific functions in this code path.

cvs commit: src/sys/kern vfs_cache.c

2006-04-16 Thread John-Mark Gurney
jmg 2006-04-16 18:38:30 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c Log: remove duplicate sizeof vnode entry (debug.sizeof.vnode already existed)... move ncsize into debug.sizeof and rename to namecache... Revision ChangesPath

cvs commit: src/sys/kern vfs_cache.c

2006-03-12 Thread Jeff Roberson
jeff2006-03-13 03:06:14 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/kern vfs_cache.c Log: MFC Rev 1.104 VFS SMP fixes, stack api, softupdates fixes. Sponsored by: Isilon Systems, Inc. Approved by:re (scottl)

cvs commit: src/sys/kern vfs_cache.c vfs_lookup.c vfs_syscalls.c

2006-02-06 Thread Jeff Roberson
jeff2006-02-06 10:15:27 UTC FreeBSD src repository Modified files: sys/kern vfs_cache.c vfs_lookup.c vfs_syscalls.c Log: - Don't check v_mount for NULL to determine if a vnode has been recycled. Use the more appropriate VI_DOOMED flag instead.