CA1319440C

Queued posted-write disk write method with improved error handling

Abstract

QUEUED POSTED-WRITE DISK WRITE METHOD WITH IMPROVED ERROR HANDLING A posted-write queuing program for writing information sectors to disk sectors includes error-handling routines to minimize the risk of data loss upon specified types of errors. Upon timeouts, queuing is suspended and all information sectors pending in the queue are written out to the corresponding disk sectors. Upon specified types of write errors, queuing is discontinued and repeated attempts are made to write out all information sectors to the corresponding disk sectors. For each unsuccessful attempt, the corresponding information sector is saved in the queue; the user is alerted, and subsequent read or write requests directed to the corresponding disk sector is serviced from the saved information sector in the queue.

CA1319440C, drawing sheet 1
Sheet 1 of 3

Term

Term ended

Expired 22 June 2010, 16.3 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

4 claims: 4 independent, 0 dependent

  1. 1
    -13 The embodiments of the invention in which an exclusive property or privilege is claimed are defined as follows:1. A method of maintaining a posted-write queue upon a timeout, to which queue information sectors addressed to respective corresponding disk sectors may be added, and from which queue said information sectors may be written out to said respective corresponding disk sectors, said method comprising the steps of: (a) blocking said addition of information sectors to said queue;and (b) writing out to said corresponding disk sector each information sector already added to said queue.
  2. 2
    A method of maintaining a posted-write queue upon a specified type of write error, to which queue information sectors addressed to respective corresponding disk sectors may be added, and from which queue said information sectors may be written out to said respective corresponding disk sectors, said method comprising the steps of:(a) blocking said addition of information sectors to said queue;(b) attempting to write out to said corresponding disk sector each information sector already added to said queue;and -14 (c) for each said attempt that is unsuccessful, saving said information sector in said queue.
  3. 3
    A method of maintaining a posted-write queue upon a specified type of write error, to which queue information sectors addressed to respective corresponding disk sectors may be added, and from which queue said information sectors may be written out to said respective corresponding disk sectors, said method comprising the steps of:(a) blocking said addition of information sectors to said queue;(b) attempting to write out to said corresponding disk sector each information sector already added to said queue;(c) for each said attempt that is unsuccessful, saving said information sector in said queue;and (d) servicing from said queue any subsequent read request or write request directed to a disk sector corresponding to any said saved information sector.
  4. 4
    A method of managing a posted-write queue to which information sectors addressed to respective corresponding disk sectors may be added, and from which said information sectors may be written out to said respective corresponding disk sectors, -15 said method comprising the steps of:(a) upon a timeout, blocking said addition of information sectors to said queue and writing out to said corresponding disk sector each information sector already added to said queue;(b) upon a specified type of write error, blocking said addition of information sectors to said queue;(c) subsequent to said write error, attempting to write out to said corresponding disk sector each information sector already added to said queue;(d) for each said attempt that is unsuccessful, saving said information sector in said queue;and (e) servicing from said queue any read request or write request subsequent to said unsuccessful attempt that is directed to a disk sector corresponding to said saved information sector. QUEUED POSTED-WRITE DISK WRITE METHOD WITH IMPROVED ERROR HANDLING INVENTORS CURTIS R. JONES, JR. ROBERT S. GREADY : APPENDIX 1 17 page 58,132 title CACHQUE (C) Copyright Compaq Computer Corp 1988 Name: Cachque - Posted write queue addition to disk cache driver Version: Date: Author: Scott Gready Functional Description: These routines add posted write capability to the memory resident portion of the Compaq disk cache driver. 18 page .286c ;********* The code for queueing multiple sector writes is commented ******** ;********* out with a ;*A notation. This code will need to be ******** ;********* restored if NUM_Q_SECT is set greater than 1. ******** 19 21 beep_cnt db 10 ;number of beeps on write err. page 22 page 23 page 24 page 25 26 page 27 28 29 31 32 33 34 36 37 38 39 41 42 43 Page 1-27 intentionally omitted 44 46 47 48 49