Date: Sun, 1 Oct 2006 20:23:51 +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_periph.c Message-ID: <200610012023.k91KNp51077081@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mjacob      2006-10-01 20:23:51 UTC
  FreeBSD src repository
  Modified files:
    sys/cam              cam_periph.c 
  Log:
  Put a bit of hysteresis into both BUSY SCSI status returns
  and CAM_RESRC_UNAVAIL returns. Delay a tunable amount for
  either between retries.
  
  This came up because the MPT IOC was returning "IOC out of
  resources" for some user and this caused a CAM_RESRC_UNAVAIL
  return. Putting a bit of delay between retries helped them
  out.
  
  There was some discussion that an async event should be used
  to clear CAM_RESRC_UNAVAIL. That's probably a better notion
  eventually.
  
  Reviewed by:    scsi@freebsd.org (ade, scott)
  MFC after:      1 week
  
  Revision  Changes    Path
  1.63      +20 -4     src/sys/cam/cam_periph.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610012023.k91KNp51077081>
