cvs commit: src/sys/cam cam_ccb.h cam_xpt.c

Matt Jacob mjacob at FreeBSD.org
Mon Jun 5 22:59:51 UTC 2006


mjacob      2006-06-05 22:22:14 UTC

  FreeBSD src repository

  Modified files:
    sys/cam              cam_ccb.h cam_xpt.c 
  Log:
  Add PIM_SEQSCAN for HBA misc flags and code that understands
  what to do with it.
  
  This forces us to scan targets sequentially, not in parallel.
  The reason we might want to do this is that SPI negotiation
  might not work right at the SIM level if we try to do it
  in parallel. We *could* fix this for each SIM where this is
  broken, but it's a lot harder to do that when we can simply
  ask CAM to probe sequentially.
  
  If PIM_SEQSCAN is not set (default), the original behaviour for
  probing is unchanged.
  
  LUN probing is still done in parallel for each target in either
  case.
  
  While we're at it, clean up some resource leakage for error
  cases.
  
  Reviewed by:    ken, scott, scsi@
  MFC after:      1 week
  
  Revision  Changes    Path
  1.32      +2 -1      src/sys/cam/cam_ccb.h
  1.160     +79 -32    src/sys/cam/cam_xpt.c


More information about the cvs-src mailing list