发明名称 |
FAST NEW FILE CREATION CACHE |
摘要 |
In one embodiment, a new file creation cache is reserved on a fast storage device that is part of a composite storage device that also includes a slow storage device; the composite storage device is treated as a single logical volume (or a plurality of logical volumes) by a file system which maintains a mapping table that is used to determine whether the write operation is for a new file. If the write operation is for a new file, the file system attempts to write the new file to the fast storage device. If the write operation is not for a new file, the mapping table specifies which device is used for the write operation. |
申请公布号 |
US2014195571(A1) |
申请公布日期 |
2014.07.10 |
申请号 |
US201313736817 |
申请日期 |
2013.01.08 |
申请人 |
APPLE INC. |
发明人 |
Wang Wenguang;Majnemer David A.;Horn Deric S. |
分类号 |
G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
1. A machine readable non-transitory storage medium storing executable computer program instructions which when executed by a data processing system cause the data processing system to perform a method for operating a non-volatile storage system which is treated as at least one logical volume and which is a composite system that includes a fast non-volatile storage device and a slow non-volatile storage device, the method comprising:
maintaining a mapping table which maps a logical address for the logical volume to a physical address of one of the fast or the slow non-volatile storage devices, the logical address being specified by a file system; receiving a request for a write operation having data to be written to the logical volume; determining if the write operation is for a new file in the file system; writing the data for the write operation to one or more portions of the fast non-volatile storage device in response to determining that the write operation is for a new file and in response to determining that the fast non-volatile storage device has sufficient available space; determining from the mapping table whether to write the data for the write operation to one of the fast or the slow non-volatile storage device in response to determining that the write operation is not for a new file; writing the data for the write operation to the fast or the slow non-volatile storage device as specified by the mapping table in response to determining that the write operation is not for a new file. |
地址 |
Cupertino CA US |