IP Library Granted Patent US 11,960,771
Granted Patent B2
US 11,960,771 · App. 17/900,968 · Granted Apr 16, 2024

Storage system and data management method

Inventors: Shugo Ogawa (Tokyo, JP); Ryosuke Tatsumi (Tokyo, JP); Yoshinori Ohira (Tokyo, JP); Hiroto Ebara (Tokyo, JP); Junji Ogawa (Tokyo, JP)
Assignee: HITACHI, LTD.
G06F3/0659G06F3/0604G06F3/0647G06F3/0673
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,960,771
App. No.
17/900,968
Granted
Apr 16, 2024
Kind
B2
Abstract

A first controller manages first mapping information for accessing data stored in a storage area, management of which is assigned to the first controller, and second mapping information for accessing data stored in a predetermined storage area, management of which is assigned to a second controller. The second controller, when having executed garbage collection on the predetermined storage area, changes mapping information to post-migration mapping information for accessing data after being migrated by the garbage collection. The first controller acquires the post-migration mapping information from the second controller, and updates the second mapping information using the post-migration mapping information when information in the second mapping information and is to be used for accessing the data in the predetermined storage area has been updated accompanying the garbage collection when the first controller accesses the data in the predetermined storage area after the garbage collection by using the second mapping information.

Claims (24)

1. A storage system comprising: a plurality of controllers; and

a storage apparatus accessed by the plurality of controllers, data management of a storage area in the storage apparatus being assigned to one of the plurality of controllers, wherein

a first controller manages first mapping information for accessing data stored in a storage area, management of which is assigned to the first controller, and second mapping information for accessing data stored in a predetermined storage area, management of which is assigned to a second controller,

the second controller, when having executed garbage collection on the predetermined storage area, changes mapping information for accessing the data stored in the predetermined storage area to post-migration mapping information for accessing data after being migrated by the garbage collection, and

the first controller acquires the post-migration mapping information from the second controller, and updates the second mapping information by using the post-migration mapping information in a case where information that is in the second mapping information and is to be used for accessing the data in the predetermined storage area has been updated accompanying the garbage collection when the first controller accesses the data in the predetermined storage area after the garbage collection by using the second mapping information.

2. The storage system according to claim 1 , wherein

the storage apparatus, when receiving, from the first controller, a read-out request for the data in the predetermined storage area, and predetermined version information representing a version of the predetermined storage area at a timing of registration of the second mapping information, determines whether or not the predetermined version information and version information about a latest version of the predetermined storage area match, and, if the predetermined version information and the version information do not match, transmits, to the first controller, response information representing that the predetermined version information has been updated, and

the first controller, when receiving the response information, acquires the post-migration mapping information from the second controller, and updates the second mapping information by using the post-migration mapping information.

3. The storage system according to claim 2 , wherein

the second controller, when having executed the garbage collection, transmits, to the storage apparatus, updated version information representing that the version of the predetermined storage area has been updated,

the storage apparatus, when receiving the updated version information from the second controller, manages the updated version information as latest version information about the predetermined storage area, and

the first controller, when receiving the response information, acquires, from the second controller, the post-migration mapping information and post-migration version information representing a version of a storage area where the data is stored after being migrated by the garbage collection, updates the second mapping information by using the post-migration mapping information, and changes the predetermined version information about the predetermined storage area to the post-migration version information about the storage area to which the data has been migrated.

4. The storage system according to claim 2 , wherein

the storage apparatus transmits, as the response information, to the first controller, error information representing that an attempt to read out the data in the predetermined storage area has failed.

5. The storage system according to claim 1 , wherein

the first controller determines, on a basis of a read-out request for the data in the predetermined storage area, whether or not version information about a latest version of the predetermined storage area and predetermined version information representing a version of the predetermined storage area at a timing of registration of the second mapping information match, and, if the version information and the predetermined version information do not match, acquires the post-migration mapping information from the second controller, and updates the second mapping information by using the post-migration mapping information.

6. The storage system according to claim 5 , wherein

the second controller, when having executed the garbage collection, transmits, to all other controllers, updated version information representing that the version of the predetermined storage area has been updated,

a controller that has received the updated version information manages the updated version information as latest version information about the predetermined storage area, and

the first controller acquires, when the version information about the latest version and the predetermined version information do not match, from the second controller, the post-migration mapping information and post-migration version information representing a version of a storage area where the data is stored after being migrated by the garbage collection, updates the second mapping information by using the post-migration mapping information, and changes the predetermined version information about the predetermined storage area to the post-migration version information about the storage area to which the data has been migrated.

7. A data management method performed in a storage system including a plurality of controllers, and a storage apparatus accessed by the plurality of controllers, data management of a storage area in the storage apparatus being assigned to one of the plurality of controllers, the data management method comprising:

managing, by a first controller, first mapping information for accessing data stored in a storage area, management of which is assigned to the first controller, and second mapping information for accessing data stored in a predetermined storage area, management of which is assigned to a second controller,

changing, by the second controller, when having executed garbage collection on the predetermined storage area, mapping information for accessing the data stored in the predetermined storage area to post-migration mapping information for accessing data after migration by the garbage collection, and

acquiring, by the first controller, the post-migration mapping information from the second controller, and updating the second mapping information by using the post-migration mapping information in a case where information that is in the second mapping information and is to be used for accessing the data in the predetermined storage area has been updated accompanying the garbage collection when the first controller accesses the data in the predetermined storage area after the garbage collection by using the second mapping information.

Assignments (2)
CHANGE OF NAME Recorded Sep 27, 2024
From: HITACHI, LTD.
To: HITACHI VANTARA, LTD.
Reel/Frame 069067/0529 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 1, 2022
From: OGAWA, SHUGO; TATSUMI, RYOSUKE; OHIRA, YOSHINORI; EBARA, HIROTO; OGAWA, JUNJI
To: HITACHI, LTD.
Reel/Frame 060966/0068 →
Priority Claims (1)
JP 2021-200165 · Dec 9, 2021 · national
Continuity (1)
Related Publication 20230185489A1 · Jun 15, 2023