Storage subsystem and storage subsystem control method
First Claim
1. A storage subsystem, comprising:
- a plurality of channel adapters that each controls the exchange of data with a host device;
a plurality of storage device groups that each provides a logical storage region;
a plurality of disk adapters that each controls the exchange of data with each of the storage device groups;
a cache memory that is used by each of the channel adapters and each of the disk adapters;
a plurality of cache partition regions constituted by logically partitioning the cache memory; and
a control memory that stores management information for managing each of the cache partition regions,wherein the management information is constituted by both a plurality of partition management information that is used to independently manage corresponding ones of the cache partition regions, and common management information that is used to commonly manage a plurality of the cache partition regions,wherein when a cache partition region corresponding to a certain logical storage region is transferred from a first cache partition region to a second cache partition region, information in relation to a queue and counter included in the management information stored in the control memory is updated,wherein the management information is constituted by sub-management information of a plurality of types, andwherein the partition management information are constituted by partitioning, based on an indication of a kind of status in which data is stored in an area of the cache partition region, some of the sub-management information items for each of the cache partition regions, the remainder of the sub-management information being used as the common management information.
0 Assignments
0 Petitions
Accused Products
Abstract
The present invention partitions a cache region of a storage subsystem for each user and prevents interference between user-dedicated regions. A plurality of CLPR can be established within the storage subsystem. A CLPR is a user-dedicated region that can be used by partitioning the cache region of a cache memory. Management information required to manage the data stored in the cache memory is allocated to each CLPR in accordance with the attribute of the segment or slot. The clean queue and clean counter, which manage the segments in a clean state, are provided in each CLPR. The dirty queue and dirty counter are used jointly by all the CLPR. The free queue, classification queue, and BIND queue are applied jointly to all the CLPR, only the counters being provided in each CLPR.
61 Citations
18 Claims
-
1. A storage subsystem, comprising:
-
a plurality of channel adapters that each controls the exchange of data with a host device; a plurality of storage device groups that each provides a logical storage region; a plurality of disk adapters that each controls the exchange of data with each of the storage device groups; a cache memory that is used by each of the channel adapters and each of the disk adapters; a plurality of cache partition regions constituted by logically partitioning the cache memory; and a control memory that stores management information for managing each of the cache partition regions, wherein the management information is constituted by both a plurality of partition management information that is used to independently manage corresponding ones of the cache partition regions, and common management information that is used to commonly manage a plurality of the cache partition regions, wherein when a cache partition region corresponding to a certain logical storage region is transferred from a first cache partition region to a second cache partition region, information in relation to a queue and counter included in the management information stored in the control memory is updated, wherein the management information is constituted by sub-management information of a plurality of types, and wherein the partition management information are constituted by partitioning, based on an indication of a kind of status in which data is stored in an area of the cache partition region, some of the sub-management information items for each of the cache partition regions, the remainder of the sub-management information being used as the common management information. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A storage subsystem, comprising:
-
a plurality of channel adapters that each controls the exchange of data with a host device; a plurality of storage device groups that each provides a logical storage region; a plurality of disk adapters that each controls the exchange of data with each of the storage device groups; a cache memory that is used by each of the channel adapters and each of the disk adapters; a plurality of cache partition regions constituted by logically partitioning the cache memory; and a control memory that stores management information for managing each of the cache partition regions, wherein the management information is constituted by partition management information items corresponding to the cache partition regions, and common management information that is applied to all of the cache partition regions, wherein the management information is constituted by queues of a plurality of types, and counters that are associated with each of the queues, wherein the partition management information items are constituted by providing some of the queues and counters in each of the cache partition regions based on an indication of a kind of status in which data is stored in an area of the cache partition region, the remainder of the queues and the remainder of the counters being used as the common management information, wherein when a cache partition region corresponding to a certain logical storage region is transferred from a first cache partition region to a second cache partition region, information in relation to a queue and counter included in the management information stored in the control memory is updated, and wherein the information in relation to the counter which is to be updated includes subtracting a count from an in-use counter and a counter in the first cache partition region in accordance with a number of slots moved. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A storage subsystem, comprising:
-
a plurality of channel adapters that each controls the exchange of data with a host device; a plurality of storage device groups that each provides a logical storage region; a plurality of disk adapters that each controls the exchange of data with each of the storage device groups; a cache memory that is used by each of the channel adapters and each of the disk adapters; a plurality of cache partition regions constituted by logically partitioning the cache memory; and a control memory that stores management information for managing each of the cache partition regions, wherein the management information is constituted by partition management information items corresponding to the cache partition regions, and common management information that is applied to all of the cache partition regions, wherein the management information includes; a free queue to which a cache management unit in an unused state is connected and a free queue counter associated with the free queue, a dirty queue to which a cache management unit for storing data in a dirty state prior to reflection in the storage device group is connected and a dirty queue counter associated with the dirty queue, a clean queue to which a cache management unit for storing data in a clean state that has been reflected in the storage device group is connected and a clean queue counter associated with the clean queue, and an in-use counter that counts the total capacity of in-use areas in the cache memory, wherein the free queue counter, the clean queue, the clean queue counter and the in-use counter are provided in each of the cache partition regions and each constitute the partition management information, wherein the free queue, the dirty queue, and the dirty queue counter are used as the common management information, wherein when a cache partition region corresponding to a certain logical storage region is transferred from a first cache partition region to a second cache partition region, information in relation to a queue and counter included in the management information stored in the control memory is updated, and wherein the information in relation to the counter which is to be undated includes subtracting a count from an in-use counter and a counter in the first cache partition region in accordance with a number of slots moved. - View Dependent Claims (13, 14)
-
-
15. A storage subsystem, comprising:
-
a plurality of channel adapters that each controls the exchange of data with a host device; a plurality of storage device groups that each provides a logical storage region; a plurality of disk adapters that each controls the exchange of data with each of the storage device groups; a cache memory that is used by each of the channel adapters and each of the disk adapters; a plurality of cache partition regions constituted by logically partitioning the cache memory; and a control memory that stores management information for managing each of the cache partition regions, wherein the management information is constituted by both a plurality of partition management information that is used to independently manage corresponding ones of the cache partition regions, and common management information that is used to commonly manage a plurality of the cache partition regions, wherein when a cache partition region corresponding to a certain logical storage region is transferred from a first cache partition region to a second cache partition region, information in relation to a queue and counter included in the management information stored in the control memory is updated, and wherein the information in relation to the counter which is to be updated includes subtracting a count from an in-use counter and a counter in the first cache partition region in accordance with a number of slots moved.
-
-
16. A method for controlling a storage subsystem that comprises:
-
a plurality of upper interface control units that each controls the exchange of data with a host device, a plurality of storage device groups that each provides a logical storage region, a plurality of lower interface control units that each controls the exchange of data with each of the storage device groups, and a memory section that is used by each of the upper interface control units and each of the lower interface control units, the method comprising the steps of; partitioning a cache region provided by the memory section into a plurality of cache partition regions; wherein management information corresponding to the cache partition regions is provided for independently managing each of the cache partition regions and common management information is provided for commonly managing a plurality of the cache partition regions; and independently managing data in each of the cache partition regions based on the partition management information and managing data in a plurality of the cache partition region based on the common management information, wherein when a cache partition region corresponding to a certain logical storage region is transferred from a first cache partition region to a second cache partition region, information in relation to a queue and counter included in the management information is updated, and wherein the information in relation to the counter which is to be updated includes subtracting a count from an in-use counter and a counter in the first cache partition region in accordance with a number of slots moved. - View Dependent Claims (17, 18)
-
Specification