# US 2015/0106410 A1 · Memory System with Shared File System

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0106410 A1
- Document ID: US20150106410A1
- Status: Published application
- Kind: A1
- Application number: 14/050,737
- Filed: 2013-10-10
- Published: 2015-04-16
- Earliest claimed: 2013-10-10
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Etai Zaltsman; Sasha Paley; Avraham Poza Meir
- Web page: https://patentgrep.com/patent/US20150106410A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0661: {Format or protocol conversion arrangements}
- G06F 3/0671: {In-line storage system}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 12/0833: {in combination with broadcast means (e.g. for invalidation or updating)}
- G06F 16/1847: {specifically adapted to static storage, e.g. adapted to flash memory or SSD}
- G06F 2212/621: Coherency control relating to peripheral accessing, e.g. from DMA or I/O device
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus includes a non-volatile memory and a processor. The processor is configured to receive, from a host, commands for storage of data in the non-volatile memory, to further receive from the host, for storage in the non-volatile memory, File System (FS) information that specifies organization of the data in a FS of the host, to receive from the host a directive that grants the processor permission and capability to access and modify the FS information, and to access the FS information, using the directive, so as to manage the storage of the data in the non-volatile memory.

## Claims

### Claim 1

Apparatus, comprising:
a non-volatile memory; and
a processor, which is configured to receive from a host commands for storage of data in the non-volatile memory, to further receive from the host, for storage in the non-volatile memory, File System (FS) information that specifies organization of the data in a FS of the host, to receive from the host a directive that grants the processor permission and capability to access and modify the FS information, and to access the FS information, using the directive, so as to manage the storage of the data in the non-volatile memory.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein the FS of the host stores the data using Logical Block Addresses (LBA) in a logical address space of the FS, wherein the FS information comprises usage information indicating which of the LBAs are used for storing valid data, and wherein the processor is configured to access the usage information.

### Claim 3 (depends on 2)

The apparatus according to claim 2, wherein the processor is configured to allocate one or more of the LBAs in the logical address space, and to modify the usage information in the FS information to indicate the allocated LBAs.

### Claim 4 (depends on 2)

The apparatus according to claim 2, wherein the processor is configured to de-allocate one or more of the LBAs in the logical address space, and to modify the usage information in the FS information to indicate the de-allocated LBAs.

### Claim 5 (depends on 1)

The apparatus according to claim 1, and comprising a volatile memory for caching the received data, wherein the cached data comprises one or more data groups, and wherein the processor is configured to store the data by selecting one or more of the cached data groups using the FS information, and flushing only the selected data groups from the volatile memory to the non-volatile memory.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein the data groups comprise data related to a specific file, and wherein the processor is configured to select and flush only the data related to the specific file.

### Claim 7 (depends on 5)

The apparatus according to claim 5, wherein the data groups comprise data related to a specific storage command, and wherein the processor is configured to select and flush only the data related to the specific storage command.

### Claim 8 (depends on 5)

The apparatus according to claim 5, wherein one or more of the data groups are assigned respective storage priorities, and wherein the processor is configured to store the data by identifying, using the FS information, the assigned data groups and the respective priorities, and flushing the identified data groups according to the priorities.

### Claim 9 (depends on 1)

The apparatus according to claim 1, wherein the processor is configured to respond to each of the received commands by performing a respective storage operation, to modify the FS information while performing the storage operation, and to send a conclusion message to the host upon concluding to perform the storage operation.

### Claim 10 (depends on 1)

The apparatus according to claim 1, wherein the data comprises first and second data groups, wherein the first data group has a first storage significance and the second data group has a second storage significance which is lower than the first storage significance, and wherein the processor is configured to manage the storage of the data by storing the first and second data groups with respective first and second storage reliability levels, wherein the second reliability level is lower than the first reliability level.

### Claim 11

(canceled)

### Claim 11

A method, comprising:
in a storage device, receiving from a host commands for storage of data in a non-volatile memory;
receiving in the storage device from the host, for storage in the non-volatile memory, File System (FS) information that specifies organization of the data in a FS of the host;
receiving in the storage device from the host a directive that grants the storage device permission and capability to access and modify the FS information; and
accessing the FS information by the storage device, using the directive, so as to manage the storage of the data in the non-volatile memory.

### Claim 12

(canceled)

### Claim 12 (depends on 11)

The method according to claim 11, wherein the FS of the host stores the data using Logical Block Addresses (LBA) in a logical address space of the FS, wherein the FS information comprises usage information indicating which of the LBAs are used for storing valid data, and wherein accessing the FS information comprises accessing the usage information.

### Claim 13 (depends on 12)

The method according to claim 12, wherein accessing the FS information comprises allocating one or more of the LBAs in the logical address space, and modifying the usage information in the FS information to indicate the allocated LBAs.

### Claim 14 (depends on 12)

The method according to claim 12, wherein accessing the FS information comprises de-allocating one or more of the LBAs in the logical address space, and modifying the usage information in the FS information to indicate the de-allocated LBAs.

### Claim 15 (depends on 11)

The method according to claim 11, wherein the storage device comprises a volatile memory for caching the received data, wherein the cached data comprises one or more data groups, and wherein managing the storage of the data comprises selecting one or more of the cached data groups using the FS information, and flushing only the selected data groups from the volatile memory to the non-volatile memory.

### Claim 16 (depends on 15)

The method according to claim 15, wherein the data groups comprise data related to a specific file, and wherein managing the storage of the data comprises selecting and flushing only the data related to the specific file.

### Claim 17 (depends on 15)

The apparatus according to claim 15, wherein the data groups comprise data related to a specific storage command, and wherein managing the storage of the data comprises selecting and flushing only the data related to the specific storage command.

### Claim 18 (depends on 15)

The method according to claim 15, wherein one or more of the data groups are assigned respective storage priorities, and wherein managing the storage of the data comprises identifying, using the FS information, the assigned data groups and the respective priorities, and flushing the identified data groups according to the priorities.

### Claim 19 (depends on 11)

The method according to claim 11, wherein receiving the commands from the host comprises responding to each of the received commands by performing a respective storage operation, and wherein accessing the FS information comprises modifying the FS information while performing the storage operation, and sending a conclusion message to the host upon concluding to perform the storage operation.

### Claim 20

Apparatus, comprising:
a host, which is configured to run a File System (FS) for storing data; and
a storage device, which comprises a non-volatile memory and is configured to receive from the host commands for storage of the data in the non-volatile memory, to further receive from the host, for storage in the non-volatile memory, File System (FS) information that specifies organization of the data in the FS of the host, to receive from the host a directive that grants the storage device permission and capability to access and modify the FS information, and to access the FS information, using the directive, so as to manage the storage of the data in the non-volatile memory.

### Claim 22

(canceled)

### Claim 23

(canceled)

### Claim 24

(canceled)
