cvs commit: src/sys/bus/cam cam_periph.c cam_periph.h src/sys/dev/raid/vinum .gdbinit.kernel vinumio.c src/sys/i386/i386 vm_machdep.c src/sys/kern kern_physio.c vfs_aio.c vfs_bio.c src/sys/sys buf.h src/sys/vfs/ufs ffs_rawread.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Apr 30 13:24:50 PDT 2006


dillon      2006/04/30 13:23:26 PDT

DragonFly src repository

  Modified files:
    sys/bus/cam          cam_periph.c cam_periph.h 
    sys/dev/raid/vinum   .gdbinit.kernel vinumio.c 
    sys/i386/i386        vm_machdep.c 
    sys/kern             kern_physio.c vfs_aio.c vfs_bio.c 
    sys/sys              buf.h 
    sys/vfs/ufs          ffs_rawread.c 
  Log:
  Remove buf->b_saveaddr, assert that vmapbuf() is only called on pbuf's.  Pass
  the user pointer and length to vmapbuf() rather then having it try to pull
  the information out of the buffer.  vmapbuf() is now responsible for setting
  b_data, b_bufsize, and b_bcount.
  
  Also fix a bug in cam_periph_mapmem().  The procedure was failing to unmap
  earlier vmapped bufs if later vmapbuf() calls in the loop failed.
  
  Revision  Changes    Path
  1.15      +8 -12     src/sys/bus/cam/cam_periph.c
  1.6       +1 -0      src/sys/bus/cam/cam_periph.h
  1.5       +0 -2      src/sys/dev/raid/vinum/.gdbinit.kernel
  1.14      +3 -2      src/sys/dev/raid/vinum/vinumio.c
  1.41      +1 -1      src/sys/i386/i386/vm_machdep.c
  1.19      +13 -15    src/sys/kern/kern_physio.c
  1.25      +1 -5      src/sys/kern/vfs_aio.c
  1.70      +48 -35    src/sys/kern/vfs_bio.c
  1.33      +1 -2      src/sys/sys/buf.h
  1.22      +24 -39    src/sys/vfs/ufs/ffs_rawread.c


http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/cam_periph.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/cam_periph.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/vinum/.gdbinit.kernel.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/vinum/vinumio.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/vm_machdep.c.diff?r1=1.40&r2=1.41&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_physio.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_aio.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.69&r2=1.70&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/buf.h.diff?r1=1.32&r2=1.33&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_rawread.c.diff?r1=1.21&r2=1.22&f=u





More information about the Commits mailing list