CPC G06F 3/0619 (2013.01) [G06F 3/0631 (2013.01); G06F 3/0659 (2013.01); G06F 3/067 (2013.01); G06F 3/0689 (2013.01)] | 21 Claims |
1. A method for managing a storage system, the method being implemented at a server of the storage system, and the method comprising:
managing an address mapping of the storage system, the address mapping comprising an association between storage spaces in a plurality of storage devices in the storage system and a user of the storage system;
receiving, at the server of the storage system, a plurality of allocation requests including (i) from a user data client that manages user data in the storage system on behalf of the user, a first allocation request to increase a user data storage space allocated to the user and (ii) from a control data client that manages control metadata to support access to the user data, a second allocation request to increase a metadata storage space allocated to the user, the second allocation request having a higher priority than the first allocation request;
providing a data access service to a client associated with the user based on the address mapping to service the second allocation request ahead of the first allocation request, the client comprising at least any one of the user data client for accessing the user data associated with the user in the storage system and the control data client for accessing the control metadata associated with the user data; and
in response to receiving the plurality of allocation requests, determining that the address mapping is to be updated,
wherein providing the data access service comprises:
in response to determining that the address mapping is to be updated, notifying the client of a target portion to be updated in the address mapping such that the client quiesces a data access request associated with the target portion;
updating the target portion in the address mapping in response to receiving an acknowledgment from the client for the notification; and
notifying the client of the updated address mapping.
|