freebsd-skq/sys/fs/cd9660
jhb 520acdaf69 Add a new internal mount flag (MNTK_EXTENDED_SHARED) to indicate that a
filesystem supports additional operations using shared vnode locks.
Currently this is used to enable shared locks for open() and close() of
read-only file descriptors.
- When an ISOPEN namei() request is performed with LOCKSHARED, use a
  shared vnode lock for the leaf vnode only if the mount point has the
  extended shared flag set.
- Set LOCKSHARED in vn_open_cred() for requests that specify O_RDONLY but
  not O_CREAT.
- Use a shared vnode lock around VOP_CLOSE() if the file was opened with
  O_RDONLY and the mountpoint has the extended shared flag set.
- Adjust md(4) to upgrade the vnode lock on the vnode it gets back from
  vn_open() since it now may only have a shared vnode lock.
- Don't enable shared vnode locks on FIFO vnodes in ZFS and UFS since
  FIFO's require exclusive vnode locks for their open() and close()
  routines.  (My recent MPSAFE patches for UDF and cd9660 already included
  this change.)
- Enable extended shared operations on UFS, cd9660, and UDF.

Submitted by:	ups
Reviewed by:	pjd (ZFS bits)
MFC after:	1 month
2009-03-11 14:13:47 +00:00
..
cd9660_bmap.c - Fix a typo in a comment. 2008-11-18 23:19:43 +00:00
cd9660_iconv.c
cd9660_lookup.c Mark cd9660 MPSAFE and add support for using shared vnode locks during 2009-01-28 18:54:56 +00:00
cd9660_mount.h
cd9660_node.c Mark cd9660 MPSAFE and add support for using shared vnode locks during 2009-01-28 18:54:56 +00:00
cd9660_node.h Mark cd9660 MPSAFE and add support for using shared vnode locks during 2009-01-28 18:54:56 +00:00
cd9660_rrip.c Last step of splitting up minor and unit numbers: remove minor(). 2009-01-28 17:57:16 +00:00
cd9660_rrip.h
cd9660_util.c Forced commit and #include changes for repo copy from 2007-02-11 13:54:25 +00:00
cd9660_vfsops.c Add a new internal mount flag (MNTK_EXTENDED_SHARED) to indicate that a 2009-03-11 14:13:47 +00:00
cd9660_vnops.c Sync with ufs_vnops.c:1.245 and remove support for accessing device nodes 2009-01-28 18:46:29 +00:00
iso_rrip.h
iso.h Move vnode-to-file-handle translation from vfs_vptofh to vop_vptofh method. 2007-02-15 22:08:35 +00:00
TODO
TODO.hibler