Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2011 07:49:45 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/mvs mvs.c mvs.h
Message-ID:  <201104140750.p3E7o8uu095203@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mav         2011-04-14 07:49:45 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/mvs          mvs.c mvs.h 
  Log:
  SVN rev 220615 on 2011-04-14 07:49:45Z by mav
  
  Refactor hard-reset implementation in mvs(4).
  
  Instead of spinning in a tight loop for up to 15 seconds, polling for device
  readiness while it spins up, return reset completion just after PHY reports
  "connect well" or 100ms connection timeout. If device was found, use callout
  for checking device readiness with 100ms period up to full 31 second timeout.
  
  This fixes system freeze for 5-10 seconds on drives hot plug-in.
  
  Revision  Changes    Path
  1.11      +83 -17    src/sys/dev/mvs/mvs.c
  1.3       +3 -0      src/sys/dev/mvs/mvs.h



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