Patent ID: 11868246
Assignee: KIOXIA CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 12:
13. The method according to claim 12, wherein
each of the erase unit areas is an area of a unit of data erase,
the memory includes a first memory and a second memory,
the controller includes a reception unit, buffer memories, an address translation unit, a write unit, and garbage collection units,
the first memory stores the management data indicating a relationship between the plurality of namespaces and the erase unit areas,
the second memory stores address translation data items corresponding to the first namespace and the second namespace respectively,
the buffer memories correspond to the first namespace and the second namespace respectively, and
the method comprises:
receiving, by the reception unit, from the host device, the write command, namespace identification data, a logical address, and the write data;
assigning, by the controller, the erase unit areas to the plurality of namespaces to generate the management data, and storing, by the controller, the management data in the first memory;
translating, by the address translation unit, the logical address of the write data into a physical address corresponding to each of the first namespace and the second namespace indicated by the namespace identification data;
writing, by the write unit, the write data to a position indicated by the physical address in the nonvolatile memory, the writing including storing the write data in the buffer memory corresponding to the namespace indicated by the namespace identification data and then writing the write data stored in the buffer memory corresponding to the namespace indicated by the namespace identification data to the position indicated by the physical address;
executing, by each of the garbage collection units, the garbage collection on each of the first namespace and the second namespace individually; and
executing, by the controller, the changing the empty erase unit area from an original namespace corresponding to the empty erase unit area to a different namespace and updating, by the controller, the management data, the empty erase unit area created as a result of the garbage collection executed by one of the garbage collection units.