Persistent reservation IO barriers
First Claim
1. A method for sharing a storage device among a plurality of computers while providing data integrity in the storage device, the method comprising the steps of:
- registering a computer of the plurality of computers with the storage device by storing in the storage device a computer identifier associated with a reserved access type in the storage device; and
upon loss of a knowledge of the stored identifier in the shared storage device by the registered computer, replacing the identifier for the registered computer stored in the shared storage device with a new identifier for the registered computer upon detection of a failure in one of the registered computers, un-registering the detected failed registered computer by one of a plurality of survivor registered computers by requesting deletion of the identifier associated with the reserved access type for the detected failed registered computer in the shared storage device.
6 Assignments
0 Petitions
Accused Products
Abstract
A method for sharing a storage device amongst a plurality of computers while providing data integrity in the storage device is presented. A computer is registered for a reserved access type with the storage device by storing a computer identifier in the storage device. Access to the storage device is provided to the registered computer dependent on the registered computer'"'"'s stored identifier and the reserved access type. Upon loss of knowledge of the stored identifier in the shared storage device by the registered computer, the computer replaces the previous identifier for the computer stored in the shared storage device with a new identifier. The registered computer may be a currently registered computer or a previously registered computer.
76 Citations
15 Claims
-
1. A method for sharing a storage device among a plurality of computers while providing data integrity in the storage device, the method comprising the steps of:
-
registering a computer of the plurality of computers with the storage device by storing in the storage device a computer identifier associated with a reserved access type in the storage device; and
upon loss of a knowledge of the stored identifier in the shared storage device by the registered computer, replacing the identifier for the registered computer stored in the shared storage device with a new identifier for the registered computer upon detection of a failure in one of the registered computers, un-registering the detected failed registered computer by one of a plurality of survivor registered computers by requesting deletion of the identifier associated with the reserved access type for the detected failed registered computer in the shared storage device. - View Dependent Claims (2, 3, 4, 5)
aborting outstanding commands in progress from the detected failed registered computer to the shared storage device.
-
-
3. The method as claimed in claim 1 wherein the step for unregistering further comprises the step of:
upon detection of the failure, stalling all commands to the shared storage device until all pending commands from the detected failed registered computer are aborted.
-
4. The method of claim 1 wherein the computer identifier for each computer is initialized to the same value.
-
5. The method of claim 4 wherein the identifier assigned to another computer stored after detection of the failed registered computer differs from the previously stored identifiers.
-
6. An apparatus for sharing a storage device among a plurality of computers while providing data integrity in the storage device, the apparatus comprising:
-
a register routine which registers a computer with a storage device by storing in the storage device a computer identifier associated with a reserved access type in the storage device, and upon detection of loss of knowledge of the stored computer identifier in the shared device by the registered computer, replaces the identifier for the registered computer stored in the shared storage device with a new identifier for the registered computer;
an unregister routine which upon receiving notice of a failed registered computer removes write access for the failed registered computer by requesting deletion of the computer identifier associated with the reserved access type for the detected failed registered computer in the storage device. - View Dependent Claims (7, 8, 9, 10)
an abort routine which requests the abortion of outstanding commands in progress from the detected failed registered computer to the storage device.
-
-
8. The apparatus as claimed in claim 6 wherein the unregister routine further comprises:
an stall routine which stalls all commands in the storage routine until all outstanding commands from the detected failed computer to the storage device are aborted.
-
9. The apparatus as claimed in claim 6 wherein the identifier for each computer is initialized to the same value.
-
10. The apparatus as claimed in claim 9 wherein the identifier assigned to another computer stored after detection of the failed node differs from the previously stored identifiers.
-
11. An apparatus for sharing a storage device among a plurality of computers while providing data integrity in the storage device, the apparatus comprising:
-
means for registering a computer of the plurality of computers with a shared storage device by storing in the storage device an identifier associated with a reserved access type for the shared storage device; and
upon detection of loss of knowledge of the stored identifier in the shared device by the registered computer, means for replacing the identifier for the registered computer stored in the shared storage device with a new identifier for the registered computer means for unregistering a failed registered computer in the shared storage device upon receiving notice of the failed registered computer by requesting removal of write access for the detected failed registered computer by requesting deletion of the identifier associated with the reserved access type for the failed registered computer in the shared storage device. - View Dependent Claims (12, 13, 14, 15)
means for aborting outstanding commands in progress from the failed registered computer to the shared storage device.
-
-
13. The apparatus as claimed in claim 11 wherein the means for unregistering further comprises:
means for stalling all commands in the shared storage routine until all pending commands from the failed registered computer to the shared storage device are aborted.
-
14. The apparatus as claimed in claim 11 wherein the identifier for each computer is initialized to the same value.
-
15. The apparatus as claimed in claim 14 wherein the identifier assigned to another computer stored after detection of the failed node differs from the previously stored identifiers.
Specification