cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-disk.c ata-lowlevel.c ata-queue.c

Søren Schmidt sos at
Sun Sep 26 04:48:43 PDT 2004

sos         2004-09-26 11:48:43 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ata          ata-all.c ata-all.h ata-disk.c 
                         ata-lowlevel.c ata-queue.c 
  Remove the old ATA_*LOCK_CH macros that used atomic ops and use
  mutexes instead.
  This closes the last (known) race issues in ATA which should fix
  the various hangs etc seen on heavy loaded systems.
  Change from using timeout functions to using callout functions in
  the timeout code. This together with above closes the race that could
  happen if timeout and device interrupt occured simultaniously.
  Also fix the possible recursion in ata_reinit() on very dodgy
  devices that could take us down in the probe.
  Revision  Changes    Path
  1.228     +109 -12   src/sys/dev/ata/ata-all.c
  1.84      +10 -19    src/sys/dev/ata/ata-all.h
  1.178     +2 -1      src/sys/dev/ata/ata-disk.c
  1.48      +26 -69    src/sys/dev/ata/ata-lowlevel.c
  1.35      +111 -114  src/sys/dev/ata/ata-queue.c

More information about the cvs-src mailing list