Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jul 2005 01:11:49 -0000
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/ips ips.c ips.h ips_commands.c ips_disk.c ips_ioctl.c ips_pci.c
Message-ID:  <200501280502.j0S52DTf091779@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
scottl      2005-01-28 05:02:13 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ips          ips.c ips.h ips_commands.c ips_disk.c 
                         ips_ioctl.c ips_pci.c 
  Log:
  Lock the IPS driver and bring it out from under Giant.  Also do some
  significant clean up and optimizations:
  - don't call bioq_disksort() on every command, the hardware will do that for
    us.
  - remove all of the complicated bio deferral code.  bio's that can't be
    serviced immediately can just wait on the bioq.
  - Only reserve one command object for doing control commands to the card.
    This simplifies a lot of code and significantly reduces the size of the
    command struct.
  - Allocate commands out of a slab instead of embedding them into the softc.
  - Call the command action method directly instead of having ips_get_free_cmd()
    call it indirectly.
  
  MFC After: 1 week
  
  Revision  Changes    Path
  1.14      +56 -90    src/sys/dev/ips/ips.c
  1.12      +9 -15     src/sys/dev/ips/ips.h
  1.12      +65 -119   src/sys/dev/ips/ips_commands.c
  1.7       +3 -3      src/sys/dev/ips/ips_disk.c
  1.6       +10 -4     src/sys/dev/ips/ips_ioctl.c
  1.11      +6 -3      src/sys/dev/ips/ips_pci.c




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501280502.j0S52DTf091779>