1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00
freebsd/sys/fs/cd9660
John Baldwin c222ece0cc Mark cd9660 MPSAFE and add support for using shared vnode locks during
pathname lookups.
- Remove 'i_offset' and 'i_ino' from the ISO node structure and replace
  them with local variables in the lookup routine instead.
- Cache a copy of 'i_diroff' for use during a lookup in a local variable.
- Save a copy of the found directory entry in a malloc'd buffer after a
  successfull lookup before getting the vnode.  This allows us to release
  the buffer holding the directory block before calling vget() which
  otherwise resulted in a LOR between "bufwait" and the vnode lock.
- Use an inlined version of vn_vget_ino() to handle races with ..
  lookups.  I had to inline the code here since cd9660 uses an internal
  vget routine to save a disk I/O that would otherwise re-read the
  directory block.
- Honor the requested locking flags during lookups to allow for shared
  locking.
- Honor the requested locking flags passed to VFS_ROOT() and VFS_VGET()
  similar to UFS.
- Don't make every ISO 9660 vnode hold a reference on the vnode of the
  underlying device vnode of the mountpoint.  The mountpoint already
  holds a suitable reference.
2009-01-28 18:54:56 +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 /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
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 Mark cd9660 MPSAFE and add support for using shared vnode locks during 2009-01-28 18:54:56 +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