Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 1998 22:46:39 -0700 (PDT)
From:      Kenneth Merry <ken@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/sys/cam/scsi scsi_da.c
Message-ID:  <199810080546.WAA28696@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

ken         1998/10/07 22:46:39 PDT

  Modified files:
    sys/cam/scsi         scsi_da.c 
  Log:
  Add the quirk entry framework to handle disabling the synchronize cache
  command on drives that don't like it.  Right now, there's just a bogus
  quirk entry in the table that doesn't do anything, but that should be
  changed once we get actual inquiry data for drives that don't like the
  synchronize cache command.
  
  Also, add a shutdown hook that runs through all direct access peripherals
  and runs a synchronize cache on them if they're still open, and if
  synchronize cache isn't disabled via a quirk entry.
  
  Add a synchronize cache call at the end of dadump() (again, conditionalized
  on the quirk entry), so we can insure that the disk cache contents get
  flushed to physical media after a dump.
  
  Check the new quirk entry in daclose() to decide whether or not to
  synchronize the cache for a disk at final close.
  
  Reviewed by:	gibbs
  
  Revision  Changes    Path
  1.8       +169 -26   src/sys/cam/scsi/scsi_da.c



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