Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2006 22:22:14 +0000 (UTC)
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/cam cam_ccb.h cam_xpt.c
Message-ID:  <200606052222.k55MMEO0061757@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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