Storage device, storage system and method for operating storage device

By dividing the storage area of ​​metadata and user data in the storage device, and using the storage controller to load metadata to access user data, the problem that the existing file system cannot effectively utilize the performance of the non-volatile storage device is solved, and the I /O overhead and the effect of improving data access efficiency.

CN112988627BActive Publication Date: 2024-10-18SAMSUNG ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011362480.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-27
Publication Date
2024-10-18
Estimated Expiration
2040-11-27

AI Technical Summary

Technical Problem

The existing file system cannot fully utilize the performance of non-volatile storage devices, resulting in large I/O overhead between the storage device and the host device, and cannot effectively manage the performance advantages provided by non-volatile storage devices.

Method used

By dividing the first area and the second area in the storage device, storing metadata and user data respectively, using the storage controller to load the metadata received from the host device into the buffer memory, and using the loaded metadata to access the second area. target data, thereby reducing the I/O overhead between the host device and the storage device.

Benefits of technology

It effectively reduces the I/O overhead between the storage device and the host device, improves data access efficiency, and makes full use of the performance advantages of non-volatile storage devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112988627B_ABST
    Figure CN112988627B_ABST
Patent Text Reader

Abstract

A storage device includes: a nonvolatile storage including a first area and a second area; a storage controller controlling the operation of the nonvolatile storage; and a buffer memory connected to the storage controller. The storage controller stores user data received from a host device in the second area, stores metadata associated with management of the user data and generated by a file system of the host device in the first area, loads the metadata from the first area to a buffer in response to address information of an inode associated with the metadata, and accesses target data in the second area using the metadata loaded into the buffer memory.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of Korean Patent Application No. 10-2019-0158001 filed on December 2, 2019, in the Korean Intellectual Property Office, the subject matter of which is incorporated herein by reference. Background Art

[0003] Example embodiments relate generally to data processing, and more particularly to a storage device, a storage system including the storage device, and / or a method of operating the storage device.

[0004] Computing devices can take many forms, including desktop computers, notebook computers, smart phones, smart tablets, etc. Hard disk drivers (HDDs) are traditionally used as storage devices for many computing devices. However, mobile devices such as smart phones use non-volatile memory devices instead of HDDs as storage devices. Non-volatile memory devices include (for example) NAND flash memory, phase-change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), and ferroelectric RAM (FRAM).

[0005] The frequency with which contemporary computing devices access storage devices is increasing. This increased frequency of use puts pressure on storage devices.

[0006] Compared to HDDs, non-volatile memory devices have a relatively short history of use. Therefore, most file systems currently used to manage storage devices are designed to suit the operating characteristics of HDDs. Due to the differences in the operating characteristics of non-volatile memory devices compared to HDDs, existing file systems cannot fully and effectively utilize the performance provided by non-volatile memory devices. Therefore, new methods for file systems, data transmission and storage, and storage devices including non-volatile memory devices should be carefully considered in order to fully realize the performance advantages provided by non-volatile memory devices. Summary of the invention

[0007] Some example embodiments provide a storage device capable of reducing input / output (I / O) overhead between the storage device and a host device.

[0008] Some example embodiments provide a storage system capable of reducing I / O overhead between a storage device and a host device.

[0009] Some example embodiments provide a method of operating a storage device, which can reduce I / O overhead between the storage device and a host device.

[0010] According to some example embodiments, a storage device includes: a non-volatile storage including a first area and a second area, a storage controller configured to control the non-volatile storage, and a buffer memory connected to the storage controller, wherein the storage controller is configured to store user data including target data received from a host device in the second area, store metadata associated with management of the user data and generated by a file system of the host device in the first area, and the storage controller is further configured to load the metadata into the buffer memory in response to address information of an inode associated with the metadata, and access the target data in the second area using the metadata loaded into the buffer memory.

[0011] According to some example embodiments, a storage system includes: a host device, which includes a file system and provides user data including target data and metadata associated with management of the user data and generated by the file system; and a storage device, which includes: a non-volatile storage including a first area and a second area, a storage controller configured to control operations of the non-volatile storage, and a buffer memory connected to the storage controller, wherein the storage controller is configured to store the user data in the second area and store the metadata in the first area, and the storage controller is also configured to load the metadata into the buffer memory in response to address information of an index node (inode) associated with the metadata, and use the metadata loaded into the buffer memory to access the target data in the second area.

[0012] According to some example embodiments, a method of operating a storage device, wherein the storage device includes: a nonvolatile storage including a first area and a second area; a storage controller that controls operation of the nonvolatile storage; and a buffer memory connected to the storage controller, the method including storing user data received from a host device in the second area, storing metadata associated with management of the user data and generated by a file system of the host device in the first area, loading the metadata from the first area to the buffer memory in response to address information of an inode associated with the metadata, and accessing target data in the second area using the metadata loaded into the buffer memory. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Illustrative, non-limiting example embodiments will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings.

[0014] Figure 1 is a block diagram illustrating a memory system (or a data storage system) according to some example embodiments.

[0015] Figure 2 is a diagram showing some example embodiments Figure 1 Block diagram of the host device in .

[0016] Figure 3 According to an example embodiment, Figure 2 Example of host memory in .

[0017] Figure 4 is a diagram showing some example embodiments Figure 1 Block diagram of the storage controller in .

[0018] Figure 5 According to some example embodiments Figure 1 Example of multiple channels and paths for non-volatile storage in .

[0019] Figure 6 is used to illustrate the Figure 1 A block diagram of an example of non-volatile storage in a storage device in FIG.

[0020] Figure 7 It is used to describe the storage Figure 1 A diagram of the structure of a file in a storage device.

[0021] Figure 8 is used to illustrate the Figure 1 A block diagram of an example of non-volatile storage in a storage device in FIG.

[0022] Fig. 9 is used to illustrate the Figure 8 Diagram of the node address table in .

[0023] Fig.10 Is Figure 3 An example of a metadata set generated by the file system in .

[0024] FIG. 11A to FIG. 11C According to some example embodiments Figure 1 storage system operations.

[0025] Fig.12 It is shown Figure 1 A block diagram of the connection relationship between a storage controller in a storage device and a non-volatile memory device.

[0026] Fig.13 is a diagram showing some example embodiments Fig.12 Block diagram of a non-volatile memory device in FIG.

[0027] Fig.14 It is shown Fig.13A block diagram of a memory cell array in a nonvolatile memory device.

[0028] Fig.15 It is shown Fig.14 A circuit diagram of one of the memory blocks.

[0029] Fig.16 Shows Fig.15 An example of the structure of a cell string CS in a memory block of FIG.

[0030] Fig.17 shows a response to some example embodiments Figure 1 A request to perform a sequential read operation in the storage system.

[0031] Fig.18 Shows Figure 1 An example of a storage controller in a storage device updating a metadata set.

[0032] Fig.19 Shows Figure 4 The storage controller is referenced by Fig.10 The metadata set is used to determine the properties of the data.

[0033] Fig. 20 An example of a bitmap included in a metadata set is shown.

[0034] Fig.21 is a flowchart illustrating a method of operating a storage device according to some example embodiments.

[0035] Fig. 22 is a block diagram illustrating a system including a storage device according to some example embodiments.

[0036] Fig.23 is a block diagram illustrating a mobile device according to some example embodiments. DETAILED DESCRIPTION

[0037] Various example embodiments will be described more fully hereinafter with reference to the accompanying drawings, in which some example embodiments are shown.

[0038] As shown below, each of the component blocks can be implemented in hardware, for example, in hardware configured to execute non-transient instructions. For example, unless otherwise specified, components such as controllers (e.g., storage controllers, etc.) can be implemented as circuits, FPGAs, and / or processors configured to execute machine-readable instructions that, when executed by the processor, cause the processor to perform specific functions.

[0039] Figure 1 is a block diagram illustrating a data storage system (hereinafter referred to as a storage system) according to some example embodiments.

[0040] Reference Figure 1 , the storage system 10 includes a host device 100 and a storage device (SD) 200. The storage device 200 may include a solid state drive (SSD).

[0041] The host device 100 may control the overall operation of the storage device 200. The host device 100 may exchange various command, control, address, and / or data signals with the storage device 200.

[0042] The storage device 200 may include a storage controller 300 and a nonvolatile storage 400, and the nonvolatile storage 400 may include a plurality of nonvolatile storages. Wherein, 'k' is a natural number greater than 2. Non-volatile storage Each of may include NAND flash memory.

[0043] The memory controller 300 may control the exchange of command, address, and / or data signals with the host device 100. The memory controller 300 may write (or program) data in the nonvolatile memory and / or may read data from the nonvolatile memory in response to one or more commands (e.g., requests) received from the host device 100.

[0044] The storage controller 200 may include a flash translation layer (FTL) 305 .

[0045] The FTL 305 may be firmware or software driven by the storage controller 300. The FTL 305 may convert a logical address of a storage space managed by the host device 100 into a physical address of a storage space of the nonvolatile storage 400. The storage controller 300 may convert a logical address of a request based on a logical address received from the host device 100 into a physical address using the FTL 305. The FTL 305 may manage the nonvolatile storage 400 and perform various background operations to improve the operating performance of the nonvolatile storage 400.

[0046] Figure 1The storage system 10 of the present invention operates with respect to at least two types of data, generally referred to as user data and metadata. User data is content-related or payload data provided by the host device 100 to the storage device 200 and written to the non-volatile storage 400. User data may include various data, such as data associated with an operating system and / or applications installed in the storage system 10 (e.g., word processing files, spreadsheet files, audio files, video files, multimedia files, and compressed data files, etc.). In contrast, metadata (or metadata sets) are data generated by the host device 100 and used to manage the operation of the storage device 200. Metadata may include file system data defined by the storage device 100. Metadata may also be provided to the storage device 200 by the host device 100 and may be written to the non-volatile storage 400 or the file system without user intervention, so that it may be retained in the memory without the application of power.

[0047] The memory device 200 may further include a buffer memory 220 connected to the memory controller 300 .

[0048] The buffer memory 220 may be used as a buffer area to temporarily store write data received from the host device 100 and / or received from the nonvolatile memory device. The read data retrieved.

[0049] The buffer memory 220 may also be used to store and / or drive data for managing non-volatile memory devices. Buffer memory 220 may be used to store metadata received from host device 100 and / or may be used to store cache data. In some embodiments, buffer memory 220 may include volatile memory, such as a dynamic random access memory (DRAM) or static random access memory (SRAM) device.

[0050] Multiple non-volatile memory devices Can be used as the main storage medium of the storage device 200. Non-volatile memory device Multiple channel groups can be Connected to the storage controller 300. Channel Group Each of the channel groups may include at least one channel. One or more non-volatile memory devices may be connected to each channel group. Non-volatile memory devices connected to a channel group may be connected via a common data bus.

[0051] Although not shown, the storage device 200 may further include a pad to connect to the host device 100. The storage device 200 may be attached to and / or detached from the host device 100 using the pad. The pad may be formed integrally with the storage device 200, or formed as an external connector attached to the storage device 200. In some example embodiments, the storage device 200 may not include the pad, but may be connected to the host device 100 via an electronic routing process.

[0052] Figure 2 is to further illustrate the Figure 1 1 is a block diagram of a host device 100.

[0053] Reference Figure 2 The host device 100 may include a processor 110, a read-only memory (ROM) 120, a host memory 130, a user interface 140, a storage interface 150, and / or a bus 170. The host device 100 may further include a memory controller 160.

[0054] The bus 170 may refer to a transmission channel via which data is transmitted between the processor 110 , the ROM 120 , the host memory 130 , the user interface 140 , the storage interface 150 , and / or the memory controller 160 of the host device 100 .

[0055] The processor 110 may control the overall operation of the host device 100. The processor 110 may run software loaded onto the host memory 120. For example, the processor 110 may run an application, a file system, a block I / O scheduler, and a device driver. The processor 110 may include a homogeneous multi-core processor or a heterogeneous multi-core processor. For example, the processor 110 may include at least one of a central processing unit (CPU), an image signal processing unit (ISP), a digital signal processing unit (DSP), a graphics processing unit (GPU), a vision processing unit (VPU), and a neural processing unit (NPU).

[0056] ROM 120 can store various applications, for example, applications supporting protocols such as Advanced Technology Attachment (ATA), Small Computer System Interface (SCSI), embedded Multi Media Card (eMMC), and Universal Flash storage (UFS) and NVMe.

[0057] The host memory 130 may temporarily store data or programs. An operating system (OS) that manages all hardware and software in the storage system 10 may be loaded on the host memory 130 .

[0058] The storage interface 150 may include an interface supporting storage protocols such as SATA, SAS, eMMC, UFS, and / or NVMe.

[0059] The user interface 140 may be or include a physical or virtual medium, a computer program, etc. for exchanging information between a user and the host device 100, and may include physical hardware and logical software. For example, the user interface 140 may include an input device that allows a user to interface with the host device 100, and / or an output device that provides data processing results to the user.

[0060] The memory controller 160 may control the host memory 130 .

[0061] Figure 3 is a diagram showing a method according to an example embodiment Figure 2 A conceptual diagram of various components of host memory 130 is shown in FIG.

[0062] Reference Figure 3 , the host memory may load, for example, an application 131 in a user space, a file system 132 included in a kernel space, an I / O scheduler 133, and a device driver 135.

[0063] Software layers (eg,) 131, 132, 133, and 135 loaded into the host memory 130 may be included in a software stack for accessing the storage device 200. The host memory 130 may include a storage medium such as, for example, a DRAM device or an SRAM device.

[0064] The application 131 can be run as a basic (or default) service or in response to a user request. A user space storing the application 131 and a kernel space storing a kernel including a file system 132, an I / O scheduler 133, a device driver 135, etc. can be specified separately. The application 131 cannot directly access resources such as the storage device 200. Instead, the application 131 can call one or more functions defined in a library (not shown) including a system call function, and can request a task from the kernel. In the case of using a system call function, a switch from a user mode to a kernel mode can be performed.

[0065] The file system 132 may manage files or data stored to the storage device 200. For example, the file system 132 may include a file allocation table (FAT), a new technology file system (NTFS), a hierarchical file system (HFS), a high performance file system (HPFS), a unix file system (UFS), a secondary extended file system (ext2), ext3, ext4, a journaling file system (JFS), ISO 9660, Files-11, a Veritas file system (VxFS), ZFS, ReiserFS, a universal disk format (UDF), etc. Specifically, the file system 132 may perform a journal that maintains consistency (e.g., file and / or data consistency) of data on the host memory 130 during a sudden power off (SPO) event or a system crash.

[0066] The file system 132 may be used to generate metadata (MDS) 327 that manages storage and / or retrieval of user data in the non-volatile storage 400. The file system 132 may store the MDS 327 in the host memory 130.

[0067] The I / O scheduler 133 may exist in the block layer. The I / O scheduler 133 may receive various I / O requests from the file system 132, and may store the received I / O requests in the scheduler queue 134. The I / O scheduler 133 may manage the scheduler queue 134. The block scheduler 133 may merge the I / O requests, or may adjust the order of the I / O requests (reorder).

[0068] The device driver 135 is a program that operates as part of the kernel and is used to control a hardware device such as the storage device 200. The device driver 135 can remove I / O requests from the scheduler queue 134 and can generate commands for controlling the storage device 200. The device driver 135 can process the I / O requests of the scheduler queue 134. For example, the device driver 135 can be a block device that performs data input and / or output functions related to the storage device 200 on a block basis. In other embodiments, in addition to Figure 3 In addition to the programs and / or software layers shown, other programs and / or software layers may be loaded into host memory 130 .

[0069] Figure 4 is to further illustrate the Figure 1 1 is a block diagram of a storage controller 300.

[0070] Reference Figure 4 The storage controller 300 may include a processor 310 (eg, a CPU), an SRAM 320 , an error correction code (ECC) engine 330 , a host interface 340 , a ROM 360 , a nonvolatile memory interface 350 , and / or a bus 315 .

[0071] The bus 315 may refer to a transmission channel for exchanging data with the processor 310, the SRAM 320, the ECC engine 330, the host interface 340, the migration manager 360, and the nonvolatile memory interface 350 of the storage controller 300. The controller 310 may perform communication between the host device 100 and the nonvolatile memory device. The operation of exchanging data between them.

[0072] The host interface 340 is connected to the host device 100, and the nonvolatile memory interface 350 is connected to the nonvolatile memory device The processor 310 may communicate with the host device 100 via the host interface 340. The host interface 340 may be implemented using, but not limited to, a SATA interface, a Parallel Advanced Technology Attachment (PATA) interface, a USB or SAS interface, an eMMC interface, a UFS interface, and / or an eMMC interface.

[0073] The processor 310 can communicate with the non-volatile memory device through the non-volatile memory interface 350. The non-volatile memory interface 350 can be connected to a non-volatile memory device. Each one of them.

[0074] The ECC engine 330 may use various engines during a write operation to generate an error correction code (ECC) for write data received from the host device 100. During a read operation, the ECC engine 330 may perform error detection and error correction on read data retrieved from the nonvolatile memory devices 400a to 400k to provide (or return) the data to the host device 100.

[0075] The SRAM 320 may store metadata 327, a mapping table 325, and firmware 329. The mapping table 325 may store a logical address received from the host device 100 and a mapping table for storing data in the nonvolatile memory device. Mapping information associated with a physical address of a specified memory location.

[0076] The processor 310 can control the non-volatile memory device by combining the metadata set 327 and the firmware 329. The ROM 360 may store information for operating the storage controller 300 as firmware.

[0077] Figure 5 is a diagram showing a method for accessing Figure 1 A conceptual diagram of one possible arrangement of channels and paths of a non-volatile memory 400.

[0078] Reference Figure 1 and Figure 5 , non-volatile memory devices Can be connected to channel groups differently For example, a non-volatile memory device Can be connected to channel groups differently to form a path; that is, Wherein, "m" is a natural number greater than 2. That is, the corresponding "m" non-volatile memory devices Can be included in channel groups In each of the “m” paths.

[0079] Here, a path represents a unit that divides nonvolatile memory devices that share the same channel. Therefore, each nonvolatile memory device can be specifically identified according to the channel number and the path number.

[0080] Figure 6 , Figure 7 and Figure 8 They are further illustrating the Figure 1 A block diagram of a non-volatile storage device 200 400 in one example. Figure 7 is shown stored in Figure 1 A diagram of an exemplary structure of a file in the storage device 200, and Fig. 9 is a diagram showing a method according to an example embodiment Figure 8 Yet another diagram of a node address table in an example.

[0081] Reference Figure 1 , Figure 6 , Figure 7 and Figure 8 , you can Figure 6 The nonvolatile storage 400 in the storage device 200 is configured as shown. That is, a segment (SEGMENT) 53 may include a plurality of blocks (BLK) 51 , a section (SECTION) 55 includes a plurality of segments 53 , and a zone (ZONE) 57 includes a plurality of sections 55 .

[0082] For example, since the segment 53 includes 512 blocks 51, the size of the block 51 may be 4K bytes, and the size of the segment 53 may be 2M bytes. This configuration may be determined during formatting of the storage device 200, but is not limited thereto.

[0083] The files stored in the storage device 200 may have the following Figure 7 The index structure shown. A file may include multiple data units and multiple corresponding nodes. The data block 70 is an area for storing data, and the node blocks 80, 81 to 88 and 91 to 95 are areas for storing nodes.

[0084] The node blocks 80, 81 to 88, and 91 to 95 may include direct node blocks 81 to 88, indirect node blocks 91 to 95, and an inode block 80. Figure 8 In the figure, direct node blocks 81 to 88 are represented by shading, and indirect node blocks 91 to 95 are represented by hatching.

[0085] The direct node blocks 81 to 88 may include data pointers pointing directly to the data block 70. The indirect node blocks 91 to 95 may include pointers pointing to other node blocks (i.e., lower-level node blocks) 83 to 88 that are not the data block 70. The indirect node blocks 91 to 95 may include, for example, first indirect node blocks 91 to 94 and second indirect node blocks 95. The first indirect node blocks 91 to 94 include first node pointers pointing to the direct node blocks 83 to 88, and the second indirect node block 95 includes second node pointers pointing to the first indirect node blocks 93 and 94.

[0086] The index node block 80 may include at least one data pointer among a first node pointer pointing to direct node blocks 81 and 82, a second node pointer pointing to first indirect node blocks 91 and 92, and a third node pointer pointing to a second indirect node block 95. The maximum size of a file is (for example) 3 terabytes, and this large-capacity file may have the following index structure. For example, 994 data pointers are provided in the index node block 80, and these 994 data pointers may point to 994 data blocks 70. Two first node pointers are provided, and each of these two first node pointers may indicate two direct node blocks 81 and 82. Two second node pointers are provided, and these two second node pointers may indicate two first indirect node blocks 91 and 92. A third node pointer is provided, and this third node pointer may indicate a second indirect node block 95.

[0087] The inode page may also include inode metadata on a per-file basis.

[0088] like Figure 8 As shown, the storage device 200 can be divided into a first area RG1 and a second area RG2. The file system 132 usually divides the storage device 200 into the first area RG1 and the second area RG2 during formatting, but is not limited thereto. The first area RG1 is an area intended to store various system-level information, and may include (for example) information about a plurality of currently allocated files, a plurality of valid pages, and associated locations. The second area RG2 is an area intended to store various directory information and related file information of user data.

[0089] The first area RG1 may include super blocks 61 and 62, a checkpoint area (CP) 63, a segment information table (SIT) 64, a node address table (NAT) 65, and a segment summary area (SSA) 66. Super blocks 61 and 62 may store default information of the file system 132, such as the size of a block 51, the number of blocks 51, and a status flag (clean, stable, active, logging, and unknown). As shown in the figure, two super blocks 61 and 62 may be provided, and the same content may be stored in each super block. Therefore, in the event that one of the two super blocks is defective, the other may be used as a backup.

[0090] Checkpoints are stored in the checkpoint area 63. A checkpoint corresponds to a logical breakpoint of the storage system 10, and it stores the state of the system up to the breakpoint. Therefore, if a system failure or a sudden power failure occurs during the operation of the storage system 10, the file system 132 can use the checkpoint to recover data. Such a checkpoint may be generated, for example, periodically in response to a user command and / or when the system is shut down, but is not limited thereto.

[0091] like Fig. 9 As shown, the node address table 65 includes a plurality of node identifiers (NODE IDs) corresponding to respective nodes and a plurality of physical addresses corresponding to the plurality of node identifiers.

[0092] For example, the node block corresponding to the node identifier N0 may correspond to the physical address "a", the node block corresponding to the node identifier N1 may correspond to the physical address "b", and the node block corresponding to the node identifier N2 may correspond to the physical address "c". All nodes (including index nodes, direct nodes, and indirect nodes) may have inherent node identifiers. In other words, inherent node identifiers may be assigned to all nodes from the node address table 65. Therefore, the node address table 65 stores the node identifiers of the index nodes, the node identifiers of the direct nodes, and the node identifiers of the indirect nodes. The respective physical addresses corresponding to the respective node identifiers may be easily updated.

[0093] The segment information table 64 includes a plurality of valid pages for each segment and a bitmap for the plurality of pages. The bitmap indicates whether each page is valid using, for example, "0" or "1". The segment information table 64 can be used during various housekeeping tasks (e.g., garbage collection). The use of the bitmap can reduce unnecessary read requests when performing housekeeping tasks, and can also be used to allocate blocks during adaptive data recording.

[0094] The segment summary area 66 is an area storing summary information of each segment of the second region RG2. Specifically, the segment summary area 66 stores information of each node of the second region RG2. The segment summary area 66 can be used during housekeeping tasks.

[0095] The node blocks 80, 81 to 88 and 91 to 95 have a list of node identifiers or addresses to confirm the location of the data block 70 or the lower node block (e.g., direct node block). In contrast, the segment summary area 66 provides an index, whereby the data block 70 or the lower node block 80, 81 to 88 and 91 to 95 can confirm the location (or position) of the upper node block 80, 81 to 88 and 91 to 95. The segment summary area 66 includes a plurality of segment summary blocks, wherein each segment summary block has information about a segment located in the second region RG2. In addition, the segment summary block includes a plurality of summary information units, and one summary information unit corresponds to one data block or one node block.

[0096] The second region RG2 also includes data segments DS0 and DS1 and node segments NS0 and NS1 separated from each other. Data can be stored in the data segments DS0 and DS1, and multiple nodes can be stored in the node segments NS0 and NS1. In the case where data and nodes are separated in different regions, the segments can be effectively managed and data can be retrieved more efficiently in a shorter time interval.

[0097] The second region RG2 may be a region written by a sequential access method, and the first region RG1 may be a region written by a random access method.

[0098] In addition, the second region RG2 may include data blocks, and the first region RG1 may include an index node list.

[0099] Fig.10 It shows that Figure 3 A conceptual diagram of one possible example of a metadata structure generated by a file system for .

[0100] Reference Fig.10 , metadata set 327 may include various data fields, such as file name 371, creation date 372, last modification date 373, last access date 374, file type 375 (e.g., executable, document, text file, or other), file size 376, container 377 storing the file, owner 378 of the file, and deletion date 379. Here, the term "date" is used to refer to a calendar date and / or time.

[0101] Fig.11A , Fig. 11B and Fig. 11C is a diagram showing some example embodiments Figure 1 A block diagram of one possible method of operation of a storage system.

[0102] Fig.11AAn example is shown in which a write operation is performed in response to a write request received from the host device 100. Therefore, the host device 100 may provide the storage device 200 with a write request REQ, user data DATA, and metadata 327 generated by the file system 132. Then, the storage device 200 stores the user data in the second area and stores the metadata 327 in the first area of ​​the nonvolatile memory device 200a (511).

[0103] Fig. 11B An example is shown in which a read operation is performed in response to a read request for user data received from the host device 100. Therefore, the host device 100 provides the storage device 200 with a read request REQ and address information INDINF of an index node to store relevant metadata associated with the user data.

[0104] The storage controller 300 loads metadata 327 from the first area of ​​the nonvolatile memory device 200a to the buffer memory 220 (513) in response to the read request REQ and the address information INDINF of the index node, searches for the physical address of the physical page storing the target data corresponding to the user data (or a portion of the user data) as indicated by the metadata set 327 loaded to the buffer memory 220, accesses the physical address, and provides the target data corresponding to the user data to the host device 100.

[0105] In this way, the host device 100 can reduce the I / O overhead between the host device 100 and the storage device 200 by providing the storage device 200 with address information INDINF of an index node storing metadata associated with the requested user data rather than by providing the storage device 200 with a logical address associated with the target data.

[0106] Fig. 11C Shows Figure 1 Thus, when the storage controller 300 wishes to update the metadata 327 loaded into the buffer memory 220, the storage controller 300 may first update the metadata in the buffer memory 220, and then periodically or otherwise flush the updated metadata MDS' to the non-volatile storage device 200a (515).

[0107] In addition, the storage controller 300 may send the updated metadata set MDS′ to the host device 100 to maintain metadata consistency (517). For example, the storage controller 300 may send the updated metadata MDS′ to the host device 100 during idle time of the host device 100 and the storage device 200.

[0108] Fig.12 It is shown in Figure 1 1 is a block diagram of a possible connection relationship between the storage controller 300 and the non-volatile memory device 4000a in the storage device 10.

[0109] Reference Fig.12 The nonvolatile memory device 400a may perform an erase operation, a program operation, and / or a write operation under the control of the memory controller 300. The nonvolatile memory device 400a may receive a command CMD, an address ADDR, and user data DATA from the memory controller 300 through various I / O lines to perform such operations.

[0110] In addition, the nonvolatile memory device 400a may receive a control signal CTRL through a control line and a power signal PWR through a power line from the memory controller 300. In addition, the nonvolatile memory device 400a may provide a state signal RnB to the memory controller 300 through a control line.

[0111] Fig.13 is to further illustrate the Fig.12 4 is a block diagram of a non-volatile memory device 400a.

[0112] Reference Fig.13 , the nonvolatile memory device 400 a includes a memory cell array 420 , an address decoder 450 , a page buffer circuit 430 , a data I / O circuit 440 , a control circuit 460 , and a voltage generator 470 .

[0113] The memory cell array 420 may be coupled to the address decoder 450 through a string selection line SSL, a plurality of word lines WL, and a ground selection line GSL. In addition, the memory cell array 420 may be coupled to the page buffer circuit 430 through a plurality of bit lines BL.

[0114] The memory cell array 420 may include a plurality of memory cells coupled to a plurality of word lines WL and a plurality of bit lines BL.

[0115] In some example embodiments, the memory cell array 420 may be or include a three-dimensional memory cell array formed on a substrate in a three-dimensional structure (e.g., a vertical structure). In this case, the memory cell array 420 may include a vertical cell string oriented vertically such that at least one memory cell is located above another memory cell.

[0116] In some example embodiments, the memory cell array 420 may be or include a two-dimensional memory cell array formed on a substrate in a two-dimensional structure (or a horizontal structure).

[0117] Fig.14 It further shows Fig.131 is a block diagram of a memory cell array 420 of a nonvolatile memory device 400a.

[0118] Reference Fig.14 , the memory cell array 420 may include a plurality of memory blocks BLK1 to BLKz. The memory blocks BLK1 to BLKz extend along first to third directions D1, D2, and D3. In some example embodiments, Figure 6 The address decoder 450 selects the memory blocks BLK1 to BLKz. For example, the address decoder 450 may select a memory block BLK corresponding to a block address among the memory blocks BLK1 to BLKz.

[0119] Fig.15 It further shows Fig.14 A circuit diagram of one of the memory blocks BLKi.

[0120] Fig.15 The memory block BLKi may be formed in a three-dimensional structure (or a vertical structure) on the substrate SUB. For example, a plurality of memory cell strings included in the memory block BLKi may be formed in a direction PD perpendicular to the substrate SUB.

[0121] Reference Fig.15 , the memory block BLKi may include memory cell strings NS11 to NS33 coupled between bit lines BL1, BL2, and BL3 and a common source line CSL. Each of the memory cell strings NS11 to NS33 may include a string selection transistor SST, a plurality of memory cells MC1 to MC8, and a ground selection transistor GST. Fig.15 , each of the memory cell strings NS11 to NS33 is illustrated as including eight memory cells MC1 to MC8. However, the inventive concept is not limited thereto. In some example embodiments, each of the memory cell strings NS11 to NS33 may include any number of memory cells.

[0122] The string selection transistor SST may be connected to the corresponding string selection lines SSL1 to SSL3. The plurality of memory cells MC1 to MC8 may be connected to the corresponding word lines WL1 to WL8, respectively. The ground selection transistor GST may be connected to the corresponding ground selection lines GSL1 to GSL3. The string selection transistor SST may be connected to the corresponding bit lines BL1, BL2, and BL3, and the ground selection transistor GST may be connected to the common source line CSL.

[0123] Word lines (eg, WL1) having the same height may be commonly connected, and ground selection lines GSL1 to GSL3 and string selection lines SSL1 to SSL3 may be separated. Fig.15, the memory block BLKi is shown as being coupled to eight word lines WL1 to WL8 and three bit lines BL1 to BL3. However, the inventive concept is not limited thereto. In some example embodiments, the memory cell array 420 may be coupled to any number of word lines and bit lines.

[0124] Fig.16 In an example further shown Fig.15 The structure of the cell string CS in the memory block.

[0125] Reference Fig.15 and Fig.16 , a pillar PL is disposed on the substrate SUB such that the pillar PL extends in a direction perpendicular to the substrate SUB to contact the substrate SUB. Fig.16 Each of the illustrated ground selection line GSL, word lines WL1 to WL8, and string selection line SSL may be formed of a conductive material (eg, metal material) in parallel with the substrate SUB. The pillars PL may contact the substrate SUB through the conductive material forming the string selection line SSL, word lines WL1 to WL8, and ground selection line GSL.

[0126] exist Fig.16 A cross-sectional view taken along line AA' is also shown in FIG. In some example embodiments, a cross-sectional view of a first memory cell MC1 corresponding to a first word line WL1 is shown. The pillar PL may include a cylindrical body BD. An air gap AG may be defined inside the body BD.

[0127] The body BD may include P-type silicon and may be a region where a channel will be formed. The pillar PL may further include a cylindrical tunnel insulating layer TI surrounding the body BD and a cylindrical charge trap layer CT surrounding the tunnel insulating layer TI. A blocking insulating layer BI may be provided between the first word line WL and the pillar PL. The body BD, the tunnel insulating layer TI, the charge trap layer CT, the blocking insulating layer BI, and the first word line WL may constitute or be included in a charge trap transistor formed in a direction perpendicular to the substrate SUB or perpendicular to the upper surface of the substrate SUB. The string selection transistor SST, the ground selection transistor GST, and other memory cells may have the same structure as the first memory cell MC1.

[0128] Return to reference Fig.13 , the control circuit 460 may receive a command signal CMD and an address ADDR from the memory controller 300, and may control an erase cycle, a program cycle, and / or a read operation of the nonvolatile memory device 411 in response to the command signal CMD and the address signal ADDR. A program cycle may include a program operation and a program verification operation. An erase cycle may include an erase operation and an erase verification operation.

[0129] For example, the control circuit 460 may generate a control signal CTL for controlling the voltage generator 470 in response to the command signal CMD, and generate a row address R_ADDR and a column address C_ADDR in response to the address signal ADDR. The control circuit 460 may provide the row address R_ADDR to the address decoder 450 and provide the column address C_ADDR to the data I / O circuit 440.

[0130] The address decoder 450 may be coupled to the memory cell array 420 through the string selection line SSL, the plurality of word lines WL, and the ground selection line GSL. During a program operation or a read operation, the address decoder 450 may determine one of the plurality of word lines WL as a first word line (e.g., a selected word line) based on the row address R_ADDR, and determine the remaining word lines of the plurality of word lines WL except the first word line as unselected word lines.

[0131] The voltage generator 470 may generate a word line voltage VWL required for operation of the nonvolatile memory device 411 in response to the control signal CTL. The voltage generator 470 may receive power PWR from the memory controller 300. The word line voltage VWL may be applied to a plurality of word lines WL through the address decoder 450.

[0132] For example, during an erase operation, the voltage generator 470 may apply an erase voltage to a well of a memory block and may apply a ground voltage to the entire word line of the memory block. During an erase verification operation, the voltage generator 470 may apply an erase verification voltage to the entire word line of the memory block or sequentially apply the erase verification voltage to the word line on a word line basis.

[0133] For example, during a program operation, the voltage generator 470 may apply a program voltage to a first word line and may apply a program pass voltage to unselected word lines. In addition, during a program verification operation, the voltage generator 470 may apply a program verification voltage to a first word line and may apply a verification pass voltage to unselected word lines.

[0134] Furthermore, during a read operation, the voltage generator 470 may apply a read voltage to a first word line, and may apply a read pass voltage to unselected word lines.

[0135] The page buffer circuit 430 may be coupled to the memory cell array 420 through a plurality of bit lines BL. The page buffer circuit 430 may include a plurality of page buffers. In some example embodiments, one page buffer may be connected to one bit line. In some example embodiments, one page buffer may be connected to two or more bit lines.

[0136] The page buffer circuit 430 may temporarily store data to be programmed in a selected page or data read out from a selected page.

[0137] The data I / O circuit 440 may be coupled to the page buffer circuit 430 through the data line DL. During a program operation, the data I / O circuit 440 may receive data DATA from the memory controller 300 based on the column address C_ADDR received from the control circuit 460 and provide the data DATA to the page buffer circuit 430.

[0138] During a read operation, the data I / O circuit 440 may provide the data DATA stored in the page buffer circuit 430 to the memory controller 300 based on the column address C_ADDR received from the control circuit 460 .

[0139] In addition, the page buffer circuit 430 and the data I / O circuit 440 read data from the first region of the memory cell array 420 and write the read data to the second region of the memory cell array 420. The page buffer circuit 430 and the data I / O circuit 440 may perform a copy-back operation. The control circuit 460 may control the page buffer circuit 430 and the data I / O circuit 440.

[0140] The control circuit 460 may include a status signal generator 465 , and the status signal generator 465 may generate a status signal RnB indicating whether each of a program operation, an erase operation, and a read operation is completed and / or in progress.

[0141] Fig.17 Conceptually illustrating a method of responding to a request in accordance with some example embodiments Figure 1 A series of continuous read operations performed in the storage system 10.

[0142] Reference Fig.17 When the logical address identifying the target data is non-continuous, the host device 100 may send a read request and the address information logical block address (LBA) of the index node (INODE) ​​to the storage device 200 (611). The storage device 200 loads metadata 327 (MAP LOAD, 621) in response to the read request and the LBA of the INODE, and then reads the target data from a series of non-continuous physical pages that continuously store the target data by referring to the metadata 327 (622, 623, 624, and 625).

[0143] Fig.18 Shows Figure 1 An example in which the storage controller 300 of the storage device 10 updates the stored metadata.

[0144] Reference Fig.18 , the first mapping table MTa stores current mapping information between consecutive logical pages LPN0, LPN1, LPN2, and LPN3 and first physical pages PPN0, PPN2, PPN4, and PPN6 having non-contiguous physical addresses. Here, it is currently assumed that the target data is stored in non-contiguous physical pages PPN0, PPN2, PPN4, and PPN6. In this case, the storage controller 300 can update the first mapping table MTa to create a second mapping table MTb, which stores updated mapping information between consecutive logical pages LPN0, LPN1, LPN2, and LPN3 and second physical pages PPN40, PPN41, PPN42, and PPN43 having consecutive physical addresses. Here, the first mapping table MTa and the second mapping table MTb can be different versions of a mapping table (e.g., a current or old version and an updated or new version), which can be part of a larger metadata set that maps physical addresses in the non-volatile storage 400 and logical addresses corresponding to the physical addresses.

[0145] Therefore, the storage controller 300 can update the metadata associated with the target data so that the target data will be stored in the second physical pages PPN40, PPN41, PPN42 and PPN43 having consecutive physical addresses, and the second physical pages PPN40, PPN41, PPN42 and PPN43 correspond to the consecutive logical pages LPN0, LPN1, LPN2 and LPN3.

[0146] Fig.19 Conceptually shows Figure 4 The storage controller 300 can refer to Fig.10 The metadata structure is used to determine the method of data attributes.

[0147] For example, the storage controller 300 may determine whether the requested user data (i.e., target data) is hot data or cold data by referring to the access date 374 of the corresponding metadata 327. That is, the storage controller 300 may determine whether the target data is hot or cold by, for example, comparing the access date 374 with a reference date.

[0148] Fig. 20 The use of a bitmap regarding metadata 327 by the software layer ( 710 ) of the storage controller 300 and the physical layer ( 720 ) of the nonvolatile storage 400 is conceptually illustrated.

[0149] Reference Fig. 20 , user data may include multiple sub-data SDT0, SDT1, SDT2 and SDT3, the first block BLK includes physical pages The second block BLK2 includes physical pages And according to the information stored in the mapping table MTa, the logical page Corresponding to the respective physical pages PPN0, PPN2, PPN4 and PPN6. The sub-data SDT0, SDT1 and SDT2 are stored in the respective physical pages PPN0, PPN2 and PPN4 in the first block BLK1, and the sub-data SDT3 is stored in the physical page PPN6 in the second block BLK2.

[0150] The bitmap BTM may be included as part of the metadata 327 and may indicate logical pages corresponding to respective physical pages PPN0, PPN2, PPN4, and PPN6 storing respective sub data SDT0, SDT1, SDT2, and SDT3. Whether each of the bitmap BTM is valid as a logic level. For example, the bitmap BTM may indicate that the corresponding page is valid using a logic "high", and indicate that the corresponding page is invalid using a logic "low". The storage controller 300 may delete the sub-data SDT3 by referring to the bitmap BTM regardless of a request from the host device 100. The storage controller 300 may delete at least a portion of the user data by referring to the bitmap BTM regardless of a request from the host device 100.

[0151] In addition, the memory controller 300 may change a channel associated with storing user data from a first channel among a plurality of channels to a second channel regardless of a request from the host device 100 .

[0152] The storage controller 300 may move the metadata 327 from a first non-volatile memory device of the plurality of non-volatile memory devices to a second non-volatile memory device based on a program / erase cycle of a memory block storing a metadata set by using the FTL 305 .

[0153] Fig.21 is a flowchart summarizing a method of operating a storage device according to some example embodiments.

[0154] Reference Figures 1 to 21 , a method of operating a storage device 200 is provided, the storage device 200 including a nonvolatile storage 400 (or nonvolatile memory NVM) for storing user data (DATA) and metadata 327 associated with management of the user data, and a storage controller 300 for controlling the NVM.

[0155] According to the method, the storage controller 300 stores the metadata 327 provided by the host device 100 in the first area of ​​the NVM ( S110 ), and stores the user data provided by the host device 100 in the second area of ​​the NVM ( S120 ).

[0156] The storage controller 300 receives address information (INDINF) of an index node storing metadata associated with the identified target data from the host device 100 ( S130 ).

[0157] The storage controller 300 loads the relevant metadata from the NVM to the buffer memory 220 in response to the address information INDINF of the index node (S140).

[0158] The storage controller 300 accesses the target data stored in the second area by referring to the metadata ( S150 ), and transmits the target data to the host device 100 .

[0159] According to an example embodiment, the host device 100 may store metadata (e.g., metadata set) associated with management of user data in the nonvolatile storage 400 in the storage device 200, and the storage controller 300 may access the nonvolatile storage 400 using the metadata (e.g., location information) stored in the nonvolatile storage 400. Therefore, the storage device 200 may enhance performance by reducing I / O overhead between the host device 100 and the storage device 200.

[0160] Fig. 22 is a block diagram illustrating a system including a storage device according to some example embodiments.

[0161] Reference Fig. 22 , the system 1000 includes a host device 2000 and a storage device 3000. For example, the host device 2000 may be an embedded multimedia card (eMMC), a solid state drive (SSD), or the storage device 3000, etc.

[0162] The host device 2000 may be configured to control data processing operations, such as data read operations and data write operations.

[0163] The host device 2000 may include a processor (CPU) 2100, a host memory (HMEM) 2200, and a host controller interface (HCI) 2300 connected via a bus 20. The host memory 2200 may store a metadata set generated by a file system. An operating system (OS) and / or a host firmware (FW) 2110 may be executed by the processor 2100. The processor 2100 may execute the operating system and the host firmware 2110 to perform these operations.

[0164] The host controller interface 2300 may be connected to the storage device 3000. For example, the host controller interface 2300 is configured to issue a command CMD to the storage device 3000, receive a response RES to the command CMD from the storage device 3000, send write data to the storage device 3000, and receive read data from the storage device 3000.

[0165] The memory device 3000 may include a plurality of non-volatile memory devices (NVMs) 3100 and a memory controller 3200 .

[0166] The nonvolatile memory device 3100 may optionally be provided with an external high voltage VPP. The memory controller 3200 may be connected to the nonvolatile memory device 3100 through a plurality of channels CH1 to CHi. The memory controller 3200 may include one or more processors CPU 3210, an ECC engine 3220, a host interface 3230, a buffer memory 3240, and a nonvolatile memory interface 3250 connected through a bus 30.

[0167] The processor 3210 is configured to control the overall operation of the memory controller 3200. For example, the processor 3210 may operate firmware 3212 including FTL, and may include other firmware. The FTL may perform various functions, such as address mapping, read calibration, error correction, and other functions.

[0168] The ECC engine 3220 may perform ECC encoding on write data, and may perform ECC decoding on read data.

[0169] The host interface 3230 may provide an interface with an external device such as the host device 2000. The nonvolatile memory interface 3250 may provide an interface with the nonvolatile memory device 3100. The host device 2000 and the memory device 3000 may be connected through a bus 15.

[0170] The buffer memory 3240 may store metadata (MDS).

[0171] As described above, the host device 2000 may generate a metadata set MDS when storing user data in the nonvolatile memory device 3100, and may store the metadata set MDS in the nonvolatile memory device 3100. When the host device 2000 is to read at least a portion of the user data, the host device 2000 provides the storage controller 3200 with address information of the index node to store relevant metadata associated with the portion of the user data. The storage controller 3200 loads the metadata set MDS into the buffer memory 3240 based on the address information of the index node, and accesses the portion of the user data by referring to the metadata set MDS in the buffer memory 3240.

[0172] The storage controller 3200 may access the nonvolatile storage using the logical information of the metadata set MDS in the buffer memory 3240 , thereby reducing I / O overhead between the host device 2000 and the storage device 3000 .

[0173] Fig.23 is a block diagram illustrating a mobile device according to some example embodiments.

[0174] Reference Fig.23 , the mobile device 4000 may include an application processor 4100 (including one or more application processors), a communication module 4200 , a display / touch module 4300 , a data storage device 4400 , and a mobile RAM 4500 .

[0175] The application processor 4100 controls the operation of the mobile device 4000. The communication module 4200 is implemented to perform wireless or wired communication with an external device. The display / touch module 4300 is implemented to display data processed by the application processor 4100 and / or receive data through a touch panel (not shown). The data storage device 4400 is implemented to store user data.

[0176] The data storage device 4400 may be an embedded multimedia card (eMMC), a solid state drive (SSD), a universal flash storage (UFS) device, etc. The data storage device 4400 may store a metadata set MDS associated with managing a user data set, and may access user data using logical information of the metadata set MDS.

[0177] The mobile RAM 4500 temporarily stores data for processing operations of the mobile device 4000. For example, the mobile RAM 4500 may be a double data rate (DDR) synchronous DRAM (SDRAM), a low power DDR (LPDDR) SDRAM, a graphics DDR (GDDR) SDRAM, a Rambus DRAM, or a DDR3 SDRAM. wait.

[0178] As described above, the host device can store metadata sets associated with the management of user data in nonvolatile storage, and the storage controller 300 can access the nonvolatile storage using the location information of the metadata. Therefore, the storage device can enhance performance by reducing I / O overhead between the host device and the storage device.

[0179] The present disclosure can be applied to various electronic devices including storage devices. For example, the present disclosure can be applied to systems such as mobile phones, smart phones, personal digital assistants (PDAs), portable multimedia players (PMPs), digital cameras, camcorders, personal computers (PCs), server computers, workstations, laptop computers, digital televisions, set-top boxes, portable game consoles, navigation systems, etc. The foregoing is an explanation of example embodiments and should not be interpreted as a limitation on example embodiments. Although some example embodiments have been described, it will be readily understood by those of ordinary skill in the art that many modifications in the example embodiments are possible without substantially departing from the novel teachings and advantages of the present disclosure. Therefore, all such modifications are intended to be included within the scope of the present disclosure as defined in the claims.

Claims

1. A storage device, include: A non-volatile storage including a first area and a second area; a storage controller configured to control the non-volatile storage; and a buffer memory connected to the memory controller, wherein the storage controller is configured to store user data including target data received from the host device in the second area, and to store metadata associated with management of the user data and generated by the file system of the host device in the first area, and The storage controller is further configured to load the metadata into the buffer memory in response to address information of an inode associated with the metadata, and access the target data in the second area using the metadata loaded into the buffer memory, Wherein, when the target data is stored in a first physical page having a non-continuous physical address in the non-volatile storage, the storage controller is further configured to update the metadata so that the target data is stored in a second physical page having a continuous physical address in the non-volatile storage, Wherein, the storage controller is further configured to send updated metadata to the host device during an idle time of the storage controller and the host device.

2. The storage device according to claim 1, in, The metadata includes a mapping table storing mapping information between a physical address in the non-volatile storage and a logical address of the user data provided by the host device.

3. The storage device according to claim 2, in, The storage controller is configured to: using at least one logical address associated with the target data to reference at least one of the physical addresses stored in the mapping table, The target data in the second area is accessed using the at least one physical address.

4. The storage device according to claim 1, in, The second area includes data blocks, and the first area includes an index node list.

5. The storage device according to claim 1, in, The target data is identified by the host device using a plurality of non-contiguous logical addresses, and The storage controller is also configured to read the target data from the non-volatile storage in response to a single request from the host device.

6. The storage device according to claim 1, in, The storage controller is also configured to update the metadata in the buffer memory independently of the host device and flush the updated metadata to the non-volatile storage.

7. The storage device according to claim 1, in, The storage controller is further configured to determine an attribute of the user data stored in the second area by referring to metadata stored in the buffer memory.

8. The storage device according to claim 1, in, The user data includes a plurality of sub-data, the metadata includes a bitmap indicating whether each of the plurality of sub-data is valid, and the storage controller is further configured to delete at least a portion of the plurality of sub-data by referring to the bitmap regardless of a request from the host device.

9. The storage device according to claim 1, in, The nonvolatile storage includes a plurality of nonvolatile memory devices connected to the storage controller via a plurality of channels, each of the plurality of nonvolatile memory devices includes a plurality of memory blocks, at least one of the plurality of memory blocks includes a NAND string, and each NAND string includes a plurality of memory cells sequentially stacked on a substrate.

10. A storage system, include: a host device including a file system and providing user data including target data and metadata associated with management of the user data and generated by the file system; and Storage devices, including: A non-volatile storage including a first area and a second area; a memory controller configured to control operation of the non-volatile memory; and a buffer memory connected to the memory controller, wherein the storage controller is configured to store the user data in the second area and store the metadata in the first area, and The storage controller is further configured to load the metadata into the buffer memory in response to address information of an inode associated with the metadata, and access the target data in the second area using the metadata loaded into the buffer memory, Wherein, when the target data is stored in a first physical page having a non-continuous physical address in the non-volatile storage, the storage controller is also configured to update the metadata so that the target data is stored in a second physical page having a continuous physical address in the non-volatile storage, wherein the storage controller is also configured to send the updated metadata to the host device during an idle time of the storage controller and the host device.

11. The storage system according to claim 10, in, The metadata includes a mapping table storing mapping information between a physical address in the non-volatile storage and a logical address of the user data provided by the host device.

12. The storage system according to claim 11, in, The storage controller is configured to: using at least one logical address associated with the target data to reference at least one of the physical addresses stored in the mapping table, and The target data in the second area is accessed using the at least one physical address.

13. The storage system according to claim 10, in, The target data is identified by the host device using a plurality of non-contiguous logical addresses, and The storage controller is also configured to read target data from the non-volatile storage in response to a single request from the host device.

14. The storage system according to claim 10, in, The storage controller is also configured to update the metadata in the buffer memory independently of the host device and flush the updated metadata to the non-volatile storage.

15. The storage system according to claim 10, in, The storage controller is further configured to determine an attribute of the user data stored in the second area by referring to the metadata stored in the buffer memory.

16. The storage system according to claim 10, in, The storage controller is configured to change a channel associated with storing the user data from a first channel among a plurality of channels to a second channel regardless of a request from the host device.

17. A method for operating a storage device, the storage device include: A non-volatile storage including a first area and a second area, a storage controller for controlling operation of the non-volatile storage, and a buffer memory connected to the storage controller, the method comprising: storing user data including target data received from the host device in the second area; storing metadata associated with management of the user data and generated by a file system of the host device in the first area; In response to address information of an inode associated with the metadata, loading the metadata from the first area to the buffer memory; and accessing the target data in the second area using the metadata loaded into the buffer memory, When the target data is stored in a first physical page having a non-contiguous physical address in the non-volatile storage, updating the metadata so that the target data is stored in a second physical page having a continuous physical address in the non-volatile storage, Updated metadata is sent to the host device during idle times of the storage controller and the host device.

Citation Information

Patent Citations

  • Index cache tree

    US20110022819A1