
{ DECK: IOT$TAPE_COMPLETION_PACKET

  TYPE
    iot$tape_completion_packet = record
      lun: iot$logical_unit,
      cart_writes_pending: 0 .. ioc$max_multiple_tape_requests,
      sync_set: boolean,
      req: array [1 .. ioc$max_multiple_tape_requests] of iot$tape_completion_entry,
    recend;

  TYPE
    iot$tape_completion_entry = record
      waiting_response: boolean,
      request_not_processed: boolean,
      io_id: iot$io_id,
      io_request: ^iot$io_request,
      task_id: ost$global_task_id,
      check_task_id: boolean,
    recend;

*copyc iot$io_id
*copyc iot$io_request
*copyc iot$logical_unit
*copyc ost$global_task_id
