×

Method and means for ensuring single pass small read/write access to variable length records stored on selected DASDs in a DASD array

  • US 5,257,362 A
  • Filed: 03/08/1991
  • Issued: 10/26/1993
  • Est. Priority Date: 03/08/1991
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a system comprising an array of N DASDs for storing records in row major order on counterpart tracks of N-1 of said DASDs and for storing a parity image of the counterpart tracks on the Nth DASD of said array, and a control unit responsive to externally supplied read or write requests for accessing records on said array,a method for write updating selected ones among a set of variable length records sorted on DASD tracks, each record including at least a count field and a variable length data field, the fields within a record and between records on each DASD track being spaced apart by a predetermined track extent termed a "gap", any arbitrarily addressable DASD track being denominated as an "ith track", comprising the steps by said control unit of:

  • (a) generating a byte level exclusive OR simple parity image of the fields and gaps included within each of the variable length records from each counterpart ith track across N-1 DASDs, and, storing said image on an ith track of the Nth DASD, each gap being coded as an arbitrary constant value (000); and

    (b) responsive to each write request to a record stored on a selected DASD,(1) establishing a byte position offset of the record to be modified on the ith track of the selected DASD and the record identify within the parity image on the ith track of the Nth DASD,(2) obtaining and modifying said record from the ith track of the selected DASD and parity from the ith track of the Nth DASD, said parity being modified as the exclusive OR image of the old record, the record modification, and the old parity; and

    (3) rewriting said modified record and parity back to the ith track on the selected and Nth DASDs respectively.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×