IP Library Granted Patent US 8,275,941
Granted Patent B2
US 8,275,941 · App. 13/100,888 · Granted Sep 25, 2012

Information processing apparatus, raid controller card, and a mirroring method

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 8,275,941
App. No.
13/100,888
Granted
Sep 25, 2012
Kind
B2
Abstract

According to one embodiment, an information processing apparatus includes a controller configured to write, first data to a first storage device from a first address to a second address according to a size of the first data, to write second data having a part of the first data to a second storage device from the first address, a size of the second data being equal to n times a page size, to write, to a cache memory, third data which is equal to the first data except the second data, and to write, when the controller receives a writing instruction includes third address being adjacent to the second address and fourth data, fifth data to the second storage device, the fifth data having the third data and at least part of fourth data, and a size of the fifth data is equal to the page size.

Claims (56)

1. An information processing apparatus, comprising:

a cache memory; and

a controller configured to write data to the same address of a first storage device and a second storage device which are configured to write and read data per page and to erase data per block unit comprising pages,

wherein the controller is configured to:

write first data to the first storage device from a first write address to a second write address according to a size of the first data when the controller receives a writing instruction comprising the first write address and the first data;

write second data having first data to the second storage device from a head of the first data, a size of the second data is equal to n times a page size, where n is an integer greater than or equal to 1;

write, to the cache memory, third data having a size equal to a difference between the size of the first data and the size of the second data, the size of the third data is smaller than the page size; and

write fifth data to the second storage device when the controller receives a writing instruction comprising from a third write address is adjacent to the second write address, the fifth data comprising the third data and at least part of fourth data, and a size of the fifth data is equal to the page size.

2. The apparatus of claim 1 , wherein

the controller is configured to:

determine whether a size of data that can be written to the cache memory is smaller than the size of the third data before the third data is written to the cache memory;

write at least part of data in the cache memory to the second storage device when the size of data that can be written to the cache memory is determined as being smaller than the size of the third data;

delete the data written to the second storage device from the cache memory; and

write the third data to the cache memory.

3. The apparatus of claim 1 , wherein the controller is configured to write the third data in the cache memory to the second storage device when the apparatus is shut down.

4. The apparatus of claim 1 , further comprising a setting module configured to set the second storage device as the first storage device and set the third storage device as the second storage device, when a problem occurs in the first storage device and the first storage device is replaced with a third storage device.

5. The apparatus of claim 1 , wherein the controller is configured to reconstruct data in the second storage device based on data in the first storage device when the apparatus has been shutted down incorrectly.

6. The apparatus of claim 1 , wherein the first storage device and the second storage device comprise a NAND type nonvolatile memory.

7. The apparatus of claim 1 , wherein the cache memory comprises a volatile memory.

8. A RAID controller card, comprising:

a cache memory; and

a controller configured to write data to the same address of a first storage device and a second storage device which are configured to write and read data per page and to erase data per block unit comprising pages,

wherein the controller is configured to:

write first data to the first storage device from a first write address to a second write address according to a size of the first data when the controller receives a writing instruction comprising the first write address and the first data;

write second data having first data to the second storage device from a head of the first data, a size of the second data is equal to n times a page size, where n is an integer greater than or equal to 1;

write, to the cache memory, third data having a size equal to a difference between the size of the first data and the size of the second data, the size of the third data is smaller than the page size; and

write fifth data to the second storage device when the controller receives a writing instruction comprising from a third write address is adjacent to the second write address the fifth data comprising the third data and at least part of fourth data, and a size of the fifth data is equal to the page size.

9. The RAID controller card of claim 8 , wherein

the controller is configured to:

determine whether a size of data that can be written to the cache memory is smaller than the size of the third data before the third data is written to the cache memory;

write at least part of data in the cache memory to the second storage device when the size of data that can be written to the cache memory is determined as being smaller than the size of the third data;

delete the data written to the second storage device from the cache memory; and

write the third data to the cache memory.

10. The RAID controller card of claim 8 , wherein

the controller is configured to write the third data in the cache memory to the second storage device when the apparatus is shut down.

11. The RAID controller card of claim 8 , further comprising a setting module configured to set the second storage device as the first storage device and set the third storage device as the second storage device, when a problem occurs in the first storage device and the first storage device is replaced with a third storage device.

12. The RAID controller card of claim 8 , wherein the cache memory comprises a volatile memory, and

the controller is configured to reconstruct data in the second storage device based on data in the first storage device when the apparatus has been shutted down incorrectly.

13. The RAID controller card of claim 8 , wherein the first storage device and the second storage device comprise a NAND type nonvolatile memory.

14. A mirroring method of writing data to the same address of a first storage device and a second storage device which are configured to write and read data per page and to erase data per block unit comprising pages, the method comprising:

writing first data to the first storage device from a first write address to a second write address according to a size of the first data upon receiving a writing instruction comprising the first write address and the first data;

writing second data having data to the second storage device from a head of the first data, a size of the second data is equal to n times a page size where n is an integer greater than or equal to 1;

writing, to the cache memory, third data having a size equal to a difference between the size of the first data and the size of the second data, the size of the third data is smaller than the page size; and

writing fifth data to the second storage device upon receiving a writing instruction from a third write address adjacent to the second write address, when the controller receives a writing instruction comprising third write address is adjacent to the second write address and fourth data, fifth data to the second storage device, the fifth data comprising the third data and at least part of fourth data, and a size of the fifth data is equal to the page size.

15. The method of claim 14 , further comprising:

determining whether a size of data that can be written to the cache memory is smaller than the size of the third data before the third data is written to the cache memory;

writing at least part of data in the cache memory to the second storage device when the size of data that can be written to the cache memory is determined as being smaller than the size of the third data;

deleting the data written to the second storage device from the cache memory; and

writing the third data to the cache memory.

16. The method of claim 14 , further comprising:

writing the third data in the cache memory to the second storage device when the apparatus is shut down.

17. The method of claim 14 , further comprising:

setting the second storage device as the first storage device and set the third storage device as the second storage device when a problem occurs in the first storage device and the first storage device is replaced with a third storage device.

18. The method of claim 14 , wherein the cache memory comprises a volatile memory, and

the method further comprises reconstructing data in the second storage device based on data in the first storage device when the apparatus has been shutted down incorrectly.

19. The method of claim 14 , wherein the first storage device and the second storage device comprise a NAND type nonvolatile memory.

Assignments (4)
CORRECTIVE ASSIGNMENT TO CORRECT THE RECEIVING PARTY'S ADDRESS PREVIOUSLY RECORDED ON REEL 048547 FRAME 0187. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT OF ASSIGNORS INTEREST. Recorded May 6, 2020
From: KABUSHIKI KAISHA TOSHIBA
To: TOSHIBA DIGITAL SOLUTIONS CORPORATION
Reel/Frame 052595/0307 →
CORRECTIVE ASSIGNMENT TO CORRECT THE ADD SECOND RECEIVING PARTY PREVIOUSLY RECORDED AT REEL: 48547 FRAME: 187. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Aug 13, 2019
From: KABUSHIKI KAISHA TOSHIBA
To: KABUSHIKI KAISHA TOSHIBA; TOSHIBA DIGITAL SOLUTIONS CORPORATION
Reel/Frame 050041/0054 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 8, 2019
From: KABUSHIKI KAISHA TOSHIBA
To: TOSHIBA DIGITAL SOLUTIONS CORPORATION
Reel/Frame 048547/0187 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 4, 2011
From: IKEUCHI, ITARU
To: KABUSHIKI KAISHA TOSHIBA
Reel/Frame 026227/0509 →