Event notification in a computing system having a plurality of storage devices
AssigneeSun Microsystems, Inc.
InventorsRobert S. Gittins, Dale Passmore
Life of this patent
Estimating the term…
Abstract
In a computing system having a plurality of storage devices, notification of an application program of a change of state in a storage device so that corrective action can be taken. A notification module creates and maintains an event queue for storing events corresponding to changes in the state of the storage devices. The notification module indicates to the application programs that events are in the queue. The queue conditions are monitored by the notification for queue maintenance.
Claims13
In a computer, an apparatus for notifying an application program of a change of state in a storage device, the computer having a processor, an input/output device, and the storage device, the storage device capable of correcting data errors before data is passed to the computer, said apparatus comprising:
- an event queue storing an event generated by the storage device, said event corresponding to a data failure corrected within said storage device;
- and
- a notification module receiving said event from said storage device, said notification module placing said event in said event queue, and passing said event to the application program in response to a request from the application program for maintenance of the event queue.
In a computing system having a plurality of storage devices, a method for notifying an application program of a change of state in a storage device, the method comprising the steps of:
- receiving a request for creation of an event queue from the application program;
- responsive to said request, creating the event queue to store an event generated by the storage device corresponding to the change of state of the storage device, said event including a masked failure in a physical device of said storage device;
- indicating to the application module that said event queue was successfully created;
- receiving the event generated by the storage device, and placing said event in the event queue;
- passing said event from the event queue to the application program;
- determining if said application program has terminated;
- and
- responsive to said determining step, if said application program has terminated, deleting said event queue created by said creating step.
A computer program storage medium readable by a computing system and encoding a computer program of instructions for executing a computer process for notifying an application program of a change of state in a storage device, said computer process comprising the steps of:
- receiving a request for creation of an event queue from the application program;
- responsive to said request, creating the event queue to store an event generated by the storage, said event corresponding to a masked data failure within said storage device, said data failure being correctable by said storage device;
- indicating to the application module that said event queue was successfully created;
- receiving the event generated by the storage device, and placing said event in the event queue;
- passing said event from the event queue to the application program;
- determining if said application program has terminated;
- and
- responsive to said determining step, if said application program has terminated, deleting said event queue created by said creating step.
Dependencies are inferred from the claim text.