IP Library › Granted Patent US 8,850,151
Granted Patent B2
US 8,850,151 · App. 12/730,838 · Granted Sep 30, 2014

Hybrid-device storage based on environmental state

Inventor: Khalu Bazzani (San Francisco, CA)
Assignee: Apple Inc.
G11B20/1217G11B19/046G06F11/1441G11B2220/455G06F3/0631G06F3/068G06F3/0614G06F11/16G11B19/042
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,850,151
App. No.
12/730,838
Granted
Sep 30, 2014
Kind
B2
Abstract

A hybrid storage device that includes a hard-disk drive (HDD) and a flash memory is described. When control logic in the hybrid storage device receives a request from an external device to write a block of data to a logical address in a first portion of an address space that maps to the HDD, the control logic writes the block of data to the HDD. However, if there is a change in environmental state information of the hybrid storage device during the write operation, the control logic writes at least a portion of the block of data to a logical address for the block of data in a second portion of the address space which maps to the flash memory. Note that the address space may be common to the external device and the hybrid storage device.

Claims (42)

1. A hybrid storage device, comprising:

a hard-disk drive (HDD);

a flash memory;

an interface circuit; and

control logic, electrically coupled to the HDD, the flash memory, and the interface circuit, wherein the control logic is configured to:

receive a request via the interface circuit from an external device to write a block of data to the hybrid storage device, the request including an address that maps to the HDD, wherein the address is in an address space that is common to the external device and the hybrid storage device, and wherein the address space includes a data structure to translate from a virtual address on the external device to a physical address corresponding to one of the HDD and the flash memory;

in response to the request, write at least a first portion of the block of data to the address, wherein at least the first portion of the block of data is written to and stored on the HDD; and

if there is a change in environmental state information of the hybrid storage device while writing at least the first portion of the block of data, write at least a second portion of the block of data to an address in the common address space that is mapped to the flash memory prior to the write.

2. The hybrid storage device of claim 1 , wherein the change in the environmental state information includes an operating state of the HDD in which failure or shut down of the HDD is to occur during the write operation.

3. The hybrid storage device of claim 2 , wherein the operating state of the HDD is associated with a change in an internal temperature of the HDD.

4. The hybrid storage device of claim 2 , wherein the operating state of the HDD is associated with acceleration of the HDD.

5. The hybrid storage device of claim 2 , wherein the operating state of the HDD is associated with vibration of the HDD.

6. The hybrid storage device of claim 2 , wherein one or more transducers in the HDD are parked during the operating state.

7. The hybrid storage device of claim 1 , wherein the change in the environmental state information includes detecting an error associated with an operating state of the HDD.

8. The hybrid storage device of claim 7 , wherein the error indicates that data stored on the HDD is at risk of imminent loss during the write operation.

9. The hybrid storage device of claim 1 , wherein the first portion of the address space and the second portion of the address space are statically allocated.

10. The hybrid storage device of claim 1 , wherein the first portion of the address space and the second portion of the address space are dynamically allocated based on characteristics of an activity history of the external device.

11. The hybrid storage device of claim 1 , wherein the first portion of the address space and the second portion of the address space are dynamically allocated based on characteristics of an application executing on the external device.

12. A computer system, comprising:

one or more processors;

a memory coupled to the one or more processors;

a hybrid storage device, the hybrid storage device including:

a hard-disk drive (HDD);

a flash memory;

an interface circuit; and

control logic, electrically coupled to the HDD, the flash memory, and the interface circuit, wherein the control logic is configured to:

receive a request via the interface circuit from an external device to write a block of data to the hybrid storage device, the request including an address that maps to the HDD, wherein the address is in an address space that is common to the external device and the hybrid storage device, and wherein the address space includes a data structure to translate from a virtual address on the external device to a physical address corresponding to one of the HDD and the flash memory;

in response to the request, write at least a first portion of the block of data to the address, wherein at least the first portion of the block of data is written to and stored on the HDD; and

if there is a change in environmental state information of the hybrid storage device while writing at least the first portion of the block of data, write at least a second portion of the block of data to an address in the common address space that is mapped to the flash memory prior to the write.

13. The computer system of claim 12 , wherein the change in the environmental state information includes an operating state of the HDD in which failure or shut down of the HDD is to occur during the write operation.

14. The computer system of claim 13 , wherein the operating state of the HDD is associated with a change in an internal temperature of the HDD.

15. The computer system of claim 13 , wherein the operating state of the HDD is associated with acceleration of the HDD.

16. The computer system of claim 13 , wherein the operating state of the HDD is associated with vibration of the HDD.

17. The computer system of claim 13 , wherein one or more transducers in the HDD are parked during the operating state.

18. The computer system of claim 12 , wherein the change in the environmental state information includes detecting an error associated with an operating state of the HDD.

19. The computer system of claim 18 , wherein the error indicates that data stored on the HDD is at risk of imminent loss during the write operation.

20. A method for writing a block of data to a hybrid storage device, which includes a hard disk drive (HDD) and a flash memory, the method comprising:

receiving a request via an interface circuit of the hybrid storage device from an external device to write a block of data to the hybrid storage device, the request including an address that maps to the HDD, wherein the address is in an address space that is common to the external device and the hybrid storage device, and wherein the address space includes a data structure to translate from a virtual address on the external device to a physical address corresponding to one of the HDD and the flash memory;

in response to the request, writing at least a first portion of the block of data to the address, wherein at least the first portion of the block of data is written to and stored on the HDD; and

if there is a change in environmental state information of the hybrid storage device while writing at least the first portion of the block of data, write at least a second portion of the block of data to an address in the common address space that is mapped to the flash memory prior to the write.

21. The method of claim 20 , wherein the change in the environmental state information includes an operating state of the HDD in which failure or shut down of the HDD is to occur during the write operation.

22. The method of claim 21 , wherein the change in the environmental state information includes detecting an error associated with an operating state of the HDD.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 22, 2010
From: BAZZANI, KHALU
To: APPLE INC.
Reel/Frame 024274/0983 →
Continuity (1)
Related Publication 20110238887A1 · Sep 29, 2011