IP Library › Granted Patent US 9,021,187
Granted Patent B2
US 9,021,187 · App. 13/753,144 · Granted Apr 28, 2015

Logical block address remapping

Inventors: Rotem Sela (Haifa, IL); Aviad Zer (Kfar Vradim, IL)
Assignee: SanDisk Technologies Inc.
G06F12/0246G06F12/0253G06F2212/7201G06F12/0292
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 9,021,187
App. No.
13/753,144
Granted
Apr 28, 2015
Kind
B2
Abstract

A method and system is disclosed that remaps logical block addresses (LBAs) for defragmentation that is managed at the storage device level. The remapping may include sequentially remapping LBAs where individual files are remapped so that each file is referenced by sequential LBAs. The remapping of LBAs may be performed without changes to the physical location of data.

Claims (35)

1. A method for remapping in a memory system having blocks stored in non-volatile storage and a controller in communication with the non-volatile storage, the method comprising:

determining an indication of a minimum size of data stored in fragmented blocks that each have a logical block address (LBA); and

receiving, based on the minimum size, a mapping of the LBA for each of the fragmented blocks so LBAs for each of one or more files are sequential; and

remapping the LBAs without changing physical addresses of data associated with the LBAs.

2. The method of claim 1 wherein the receiving is by the controller from a host.

3. The method of claim 2 wherein the received mapping comprises an LBA pair for each LBA to be remapped, wherein each LBA pair comprises a current LBA to be remapped and a new LBA that the current LBA is mapped to.

4. The method of claim 1 wherein the determining the indication is by another module in the memory system which is responsible for managing a file system.

5. The method of claim 4 wherein the memory system can power-up after remapping so that a host can read a new updated logical to physical address table based on the received mapping.

6. The method of claim 1 wherein the memory comprising non-volatile storage includes a flash memory or a solid state memory.

7. The method of claim 1 further comprising:

performing a garbage collection operation after the remapping, wherein a number of garbage collection read commands are minimized because each of the one or more files includes sequential LBAs.

8. The method of claim 7 wherein the garbage collection operation physically aggregates data on physical blocks according to the sequential LBAs from the remapping.

9. The method of claim 1 further comprising:

receiving a command from a host to perform physical aggregation of data on physical blocks according to the sequential LBAs from the remapping.

10. A memory system comprising:

a non-volatile storage having an array of memory blocks storing data that is associated with logical block addresses (LBAs); and

a controller in communication with the blocks, the controller configured to:

determine an indication of fragmented data that comprises one or more files, wherein the one or more files are stored in the memory blocks and are fragmented based on their LBAs, wherein the indication includes a minimum size of the fragmented data;

receive a list of LBA pairs that provides a new LBA for each LBA of the one or more files such that the new LBAs for each of the one or more files are sequential; and

remap, in response to the list and based on the minimum size, the LBAs for each of the one or more files

to the new LBAs without changing physical addresses of data associated with the LBAs.

11. The memory system of claim 10 wherein the list is provided by a host and the host identifies the one or more files.

12. The memory system of claim 10 wherein the LBA pairs comprises one or more blocks, further wherein the LBA pairs can include a range of blocks.

13. The memory system of claim 10 wherein the fragmented data comprises non-sequential LBAs for each of the one or more files.

14. The memory system of claim 10 wherein each LBA identifies a physical block.

15. The memory system of claim 10 wherein the remap generates a new copy of a logical to physical table, further wherein an old copy of the logical to physical table is stored in case of a power failure during an update.

16. A method for operating a memory system comprising a non-volatile storage device having a controller and blocks of memory, the method comprising:

receiving a list of logical block address pairs for remapping logical block addresses for files, wherein each of the files comprises data referenced by the logical block addresses; and

remapping the logical block addresses based on the list of logical block address pairs without changing a physical location of the data referenced by the logical block addresses, wherein the remapping changes the logical block addresses to be sequential for each of the files.

17. The method of claim 16 wherein the remapping changes the logical block addresses to combine each file into sequential blocks.

18. The method of claim 16 wherein the list of logical block address pairs is received from a host.

19. The method of claim 18 wherein the list of logical block address pairs includes a range of values that are remapped.

20. The method of claim 16 wherein each logical block address pair in the list of logical block address pairs comprises an original logical block address and a corresponding new logical block address.

21. The method of claim 20 wherein the remapping comprises remapping each original logical block address to the corresponding new logical block address.

22. The method of claim 16 wherein the remapping occurs after each of the files are deleted.

Assignments (5)
PARTIAL RELEASE OF SECURITY INTERESTS Recorded Apr 25, 2025
From: JPMORGAN CHASE BANK, N.A., AS AGENT
To: SANDISK TECHNOLOGIES, INC.
Reel/Frame 071382/0001 →
SECURITY AGREEMENT Recorded Apr 25, 2025
From: SANDISK TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 071050/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 31, 2024
From: SANDISK TECHNOLOGIES LLC
To: SANDISK TECHNOLOGIES, INC.
Reel/Frame 069796/0423 →
CHANGE OF NAME Recorded May 25, 2016
From: SANDISK TECHNOLOGIES INC
To: SANDISK TECHNOLOGIES LLC
Reel/Frame 038807/0898 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 29, 2013
From: SELA, ROTEM; ZER, AVIAD
To: SANDISK TECHNOLOGIES INC.
Reel/Frame 029715/0824 →
Continuity (1)
Related Publication 20140215125A1 · Jul 31, 2014