cvs commit: src/sys/dev/aac aac.c

Scott Long scottl at FreeBSD.org
Sat Feb 7 02:30:23 PST 2004


scottl      2004/02/07 02:30:23 PST

  FreeBSD src repository

  Modified files:
    sys/dev/aac          aac.c 
  Log:
  If a command has to be deferred because there are no more resources for it
  on the card, unmap it first.  This allows it to be picked up properly when
  the queue gets kicked again.  This was the root problem for the lost command
  (i.e. stuck in getblk/vinvalb) problem.  While here, panic if commands don't
  map correctly instead of just silently ignoring the problem and dropping
  command.  Also slow down the dynamic allocation of new commands.
  
  It should be safe to go back into the aac waters.  Thanks to everyone who
  suffered through this and provided good feedback.
  
  Revision  Changes    Path
  1.84      +11 -9     src/sys/dev/aac/aac.c


More information about the cvs-src mailing list