Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 1997 06:52:30 -0800 (PST)
From:      Joerg Wunsch <joerg@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/scsi worm.c
Message-ID:  <199712261452.GAA08093@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
joerg       1997/12/26 06:52:30 PST

  Modified files:
    sys/scsi             worm.c 
  Log:
  Fix some breakage that prevented the Plasmon burners from being used
  under -current.  The actual preparation of the next track will now be
  deferred until just before the first write operation.  Otherwise,
  opening the device with write intent will cause the execution of
  commands that are illegal in `limited command set mode' (i.e., after
  the write channel has been opened).
  
  While i was at it, cleaned up the worm_open() function a bit.
  
  Removed the volume overflow pre-check in worm_strategy().  It was
  time-consuming, and rather useless in many cases anyway (with the size
  being reported for just the entire volume only), so we can as well let
  the actual SCSI command fail instead, where it'll properly be reported
  as EIO.
  
  Partially submitted by & discussed with: jmz
  
  Revision  Changes    Path
  1.50      +66 -67    src/sys/scsi/worm.c



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