cvs commit: src/sys/cam cam_periph.c

Matt Jacob mjacob at FreeBSD.org
Sun Oct 1 13:23:51 PDT 2006


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 at freebsd.org (ade, scott)
  MFC after:      1 week
  
  Revision  Changes    Path
  1.63      +20 -4     src/sys/cam/cam_periph.c


More information about the cvs-src mailing list