Centralized, quorum-aware handling of device reservation requests in a storage system
First Claim
Patent Images
1. A method for device reservations in a storage system, performed by the storage system, comprising:
- maintaining a list of a plurality of storage devices of the storage system or slots for the storage devices, and a status of each of the plurality of storage devices or slots for the storage devices;
determining whether granting a request for a reservation of one of the plurality of storage devices or slots would result in the storage system having less than a quorum of online storage devices, wherein the reservation causes a storage controller of the storage system to prevent other storage controllers of the storage system from accessing the one of the plurality of storage devices or slots, the quorum of online storage devices represented by a number of storage devices that are able to write and read user data using erasure coding; and
granting or rejecting the reservation, based on the determining.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for device reservations in a storage system, performed by the storage system is provided. The method includes maintaining a list of a plurality of storage devices of the storage system or slots for the storage devices, and a status of each of the plurality of storage devices or slots for the storage devices. The method includes determining whether granting a request for a reservation of one of the plurality of storage devices or slots would result in the storage system having less than a quorum of online storage devices, and granting or rejecting the reservation, based on the determining.
-
Citations
18 Claims
-
1. A method for device reservations in a storage system, performed by the storage system, comprising:
-
maintaining a list of a plurality of storage devices of the storage system or slots for the storage devices, and a status of each of the plurality of storage devices or slots for the storage devices; determining whether granting a request for a reservation of one of the plurality of storage devices or slots would result in the storage system having less than a quorum of online storage devices, wherein the reservation causes a storage controller of the storage system to prevent other storage controllers of the storage system from accessing the one of the plurality of storage devices or slots, the quorum of online storage devices represented by a number of storage devices that are able to write and read user data using erasure coding; and granting or rejecting the reservation, based on the determining. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A tangible, non-transitory, computer-readable media having instructions thereupon which, when executed by a processor, cause the processor to perform a method comprising:
-
indicating a status of online versus reserved for each of a plurality of storage devices of a storage system or slots for the storage devices; receiving a request for a reservation of one of the plurality of storage devices or slots, wherein the reservation causes a storage controller of a storage system to prevent other storage controllers of the storage system from accessing the one of the plurality of storage devices or slots; determining, based on the indication, whether granting the request results in the storage system maintaining a quorum of storage devices online, the quorum of online storage devices represented by a number of storage devices that are able to write and read user data using erasure coding; and granting the reservation, based on the determining. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A storage system, comprising:
-
one or more chassis having a plurality of slots for a plurality of storage devices; and one or more processors configured to; maintain a list of the plurality of slots or the plurality of storage devices and status for each of the plurality of slots or the plurality of storage devices indicating online or reserved; evaluate a request for reservation of one of the plurality of slots or one of the plurality of storage devices as to whether granting the request would cause the storage system to have less than a quorum of storage devices online, the quorum of online storage devices represented by a number of storage devices that are able to write and read user data using erasure coding, wherein the reservation causes a storage controller of the storage system to prevent other storage controllers of the storage system from accessing the one of the plurality of storage devices or slots; accept the reservation onto the list when granting the request causes the storage system to have at least the quorum of storage devices online; and fail the reservation when granting the request would cause the storage system to have less than the quorum of storage devices online. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
Specification