cvs commit: src/sys/vfs/isofs/cd9660 cd9660_lookup.c cd9660_node.c cd9660_node.h cd9660_vfsops.c cd9660_vnops.c

Matthew Dillon dillon at
Sat Apr 1 13:57:05 PST 2006

dillon      2006/04/01 13:55:13 PST

DragonFly src repository

  Modified files:
    sys/vfs/isofs/cd9660 cd9660_lookup.c cd9660_node.c 
                         cd9660_node.h cd9660_vfsops.c 
  Clone cd9660_blkatoff() into a new procedure, cd9660_devblkatoff(), which
  returns a devvp-relative buffer rather then the vp-relative buffer.  This
  allows us to access meta-data relative to a vnode without having to
  instantiate a VM object for that vnode.  The new function is used for
  all directory scans and (negative offset) meta-data access.
  This fixes a panic due to recent buffer cache commits that formalized
  the requirements for using the buffer cache.
  Also, prior to this change, the CD9660 filesystem was using B_MALLOC buffers
  for a great deal of meta-data access that could very easily have been backed
  by the device vnode's VM object instead.  B_MALLOC buffers have severe
  caching limitations.  This commit fixes all of that as well.
  Revision  Changes    Path
  1.20      +50 -6     src/sys/vfs/isofs/cd9660/cd9660_lookup.c
  1.16      +2 -2      src/sys/vfs/isofs/cd9660/cd9660_node.c
  1.9       +1 -0      src/sys/vfs/isofs/cd9660/cd9660_node.h
  1.32      +7 -7      src/sys/vfs/isofs/cd9660/cd9660_vfsops.c
  1.23      +3 -3      src/sys/vfs/isofs/cd9660/cd9660_vnops.c

More information about the Commits mailing list