Date: Sat, 16 Mar 2002 17:25:48 -0800 (PST) From: Kirk McKusick <mckusick@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/coda coda_vnops.c src/sys/fs/hpfs hpfs.h hpfs_hash.c hpfs_subr.c hpfs_vfsops.c hpfs_vnops.c src/sys/fs/ntfs ntfs_subr.c ntfs_vfsops.c ntfs_vnops.c src/sys/fs/nullfs null_vfsops.c src/sys/fs/smbfs smbfs_vfsops.c src/sys/fs/umapfs ... Message-ID: <200203170125.g2H1PmW10539@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mckusick 2002/03/16 17:25:48 PST Modified files: sys/coda coda_vnops.c sys/fs/hpfs hpfs.h hpfs_hash.c hpfs_subr.c hpfs_vfsops.c hpfs_vnops.c sys/fs/ntfs ntfs_subr.c ntfs_vfsops.c ntfs_vnops.c sys/fs/nullfs null_vfsops.c sys/fs/smbfs smbfs_vfsops.c sys/fs/umapfs umap_vfsops.c sys/gnu/ext2fs ext2_alloc.c ext2_lookup.c ext2_vfsops.c ext2_vnops.c sys/isofs/cd9660 cd9660_lookup.c cd9660_node.c cd9660_node.h cd9660_vfsops.c iso.h sys/kern vfs_default.c sys/nfsserver nfs_serv.c sys/sys mount.h sys/ufs/ffs ffs_alloc.c ffs_extern.h ffs_snapshot.c ffs_softdep.c ffs_vfsops.c softdep.h sys/ufs/ifs ifs_lookup.c ifs_vfsops.c sys/ufs/ufs ufs_extern.h ufs_ihash.c ufs_lookup.c ufs_vfsops.c ufs_vnops.c Log: Add a flags parameter to VFS_VGET to pass through the desired locking flags when acquiring a vnode. The immediate purpose is to allow polling lock requests (LK_NOWAIT) needed by soft updates to avoid deadlock when enlisting other processes to help with the background cleanup. For the future it will allow the use of shared locks for read access to vnodes. This change touches a lot of files as it affects most filesystems within the system. It has been well tested on FFS, loopback, and CD-ROM filesystems. only lightly on the others, so if you find a problem there, please let me (mckusick@mckusick.com) know. Revision Changes Path 1.40 +1 -1 src/sys/coda/coda_vnops.c 1.11 +1 -1 src/sys/fs/hpfs/hpfs.h 1.13 +13 -5 src/sys/fs/hpfs/hpfs_hash.c 1.3 +4 -3 src/sys/fs/hpfs/hpfs_subr.c 1.23 +13 -5 src/sys/fs/hpfs/hpfs_vfsops.c 1.24 +12 -14 src/sys/fs/hpfs/hpfs_vnops.c 1.23 +1 -1 src/sys/fs/ntfs/ntfs_subr.c 1.41 +9 -7 src/sys/fs/ntfs/ntfs_vfsops.c 1.28 +2 -2 src/sys/fs/ntfs/ntfs_vnops.c 1.51 +6 -4 src/sys/fs/nullfs/null_vfsops.c 1.7 +4 -2 src/sys/fs/smbfs/smbfs_vfsops.c 1.43 +5 -4 src/sys/fs/umapfs/umap_vfsops.c 1.31 +2 -2 src/sys/gnu/ext2fs/ext2_alloc.c 1.28 +11 -6 src/sys/gnu/ext2fs/ext2_lookup.c 1.87 +6 -3 src/sys/gnu/ext2fs/ext2_vfsops.c 1.58 +2 -2 src/sys/gnu/ext2fs/ext2_vnops.c 1.32 +4 -2 src/sys/isofs/cd9660/cd9660_lookup.c 1.40 +14 -6 src/sys/isofs/cd9660/cd9660_node.c 1.22 +2 -2 src/sys/isofs/cd9660/cd9660_node.h 1.95 +23 -7 src/sys/isofs/cd9660/cd9660_vfsops.c 1.22 +2 -2 src/sys/isofs/cd9660/iso.h 1.58 +2 -1 src/sys/kern/vfs_default.c 1.116 +4 -2 src/sys/nfsserver/nfs_serv.c 1.119 +4 -3 src/sys/sys/mount.h 1.88 +3 -3 src/sys/ufs/ffs/ffs_alloc.c 1.46 +1 -1 src/sys/ufs/ffs/ffs_extern.h 1.32 +2 -1 src/sys/ufs/ffs/ffs_snapshot.c 1.111 +41 -26 src/sys/ufs/ffs/ffs_softdep.c 1.171 +5 -4 src/sys/ufs/ffs/ffs_vfsops.c 1.14 +2 -1 src/sys/ufs/ffs/softdep.h 1.4 +2 -2 src/sys/ufs/ifs/ifs_lookup.c 1.9 +6 -4 src/sys/ufs/ifs/ifs_vfsops.c 1.37 +2 -3 src/sys/ufs/ufs/ufs_extern.h 1.31 +14 -6 src/sys/ufs/ufs/ufs_ihash.c 1.58 +19 -31 src/sys/ufs/ufs/ufs_lookup.c 1.30 +2 -2 src/sys/ufs/ufs/ufs_vfsops.c 1.187 +1 -1 src/sys/ufs/ufs/ufs_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203170125.g2H1PmW10539>