IP Library › Granted Patent US 11,960,393
Granted Patent B2
US 11,960,393 · App. 17/534,020 · Granted Apr 16, 2024

Data processing method and apparatus, and flash device

Inventors: Jianhua Zhou (Chengdu, CN); Po Zhang (Chengdu, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F12/0246G06F3/06G06F3/0604G06F3/0608G06F3/0616G06F3/0629G06F3/0631G06F3/0644G06F3/0652G06F3/0665G06F3/0679G06F12/0253G06F2212/7204G06F2212/7205G06F2212/7211
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 11,960,393
App. No.
17/534,020
Granted
Apr 16, 2024
Kind
B2
Abstract

A flash device includes user storage space for storing user data and over provisioning space for garbage collection within the flash device. The flash device receives an operation instruction, and then performs an operation on user data stored in the user storage space based on the operation instruction. Further, the flash device identifies a changed size of user data after performing the operation. Based on the changed size of data, a target adjustment parameter is identified. Further, the flash device adjusts the capacity of the over provisioning space according to the target adjustment parameter.

Claims (39)

1. A method for adjusting over provisioning space in a storage system, implemented by the storage system, and comprising:

providing a flash device for communication with a host in the storage system, wherein the flash device is in the storage system;

obtaining a first capacity of all free space in a user storage space, wherein the free space is empty, wherein the user storage space is in a physical storage space of the flash device, and wherein the user storage space is for storing user data from the host; and

adjusting a second capacity of over-provisioning (OP) space by adding all the first capacity to the OP space to obtain an adjusted second capacity,

wherein the OP space is in the physical storage space, and

wherein the OP space is for wear leveling (WL), garbage collection (GC), and bad block mapping.

2. The method of claim 1 , further comprising receiving configuration of the OP space.

3. The method of claim 2 , further comprising storing the user data after receiving the configuration.

4. The method of claim 3 , further comprising further storing the user data in the user storage space.

5. The method of claim 4 , further comprising further obtaining the first capacity and adjusting the second capacity after storing the user data.

6. The method of claim 1 , further comprising receiving, from the host, a request requesting release of at least a portion of space from the user storage space.

7. The method of claim 6 , further comprising further obtaining the first capacity in response to the request.

8. The method of claim 1 , wherein the adjusted second capacity corresponds to a GC adjustment parameter for performing GC on the user data.

9. The method of claim 1 , wherein the adjusted second capacity corresponds to a WL adjustment parameter for performing WL on the user data.

10. A storage system comprising:

a host; and

a flash device configured to communicate with the host and comprising:

a physical storage space comprising:

a user storage space configured to store user data from the host; and

an over provisioning (OP) space configured to provide wear leveling (WL), garbage collection (GC), or bad block mapping; and

a primary controller configured to:

obtain a first capacity of all free space in the user storage space, wherein the free space is empty; and

adjust a second capacity of the OP space by adding all the first capacity to the OP space to obtain an adjusted second capacity.

11. The storage system of claim 10 , wherein the flash device is configured to receive configuration of the OP space.

12. The storage system of claim 11 , wherein the flash device is further configured to store the user data after receiving the configuration.

13. The storage system of claim 12 , wherein the flash device further comprises a storage medium.

14. The storage system of claim 13 , wherein the primary controller is further configured to control the storage medium to store the user data.

15. The storage system of claim 14 , wherein the primary controller is further configured to further obtain the first capacity and adjust the second capacity after storing the user data.

16. The storage system of claim 10 , wherein the flash device is further configured to receive, from the host, a request requesting release of at least a portion of space from the user storage space.

17. The storage system of claim 16 , wherein the primary controller is further configured to further obtain the first capacity in response to the request.

18. The storage system of claim 10 , wherein the adjusted second capacity corresponds to a GC adjustment parameter, for performing GC on the user data.

19. The storage system of claim 10 , wherein the adjusted second capacity corresponds to a WL adjustment parameter for performing WL on the user data.

20. A flash device in a storage system, configured to communicate with a host in the storage system, and comprising:

a physical storage space comprising:

a user storage space configured to store user data from the host; and

an over provisioning (OP) space configured to provide wear leveling (WL), garbage collection (GC), or bad block mapping; and

a primary controller configured to:

obtain a first capacity of all free space in the user storage space, wherein the free space is empty; and

adjust a second capacity of the OP space by adding all the first capacity to the OP space to obtain an adjusted second capacity.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 23, 2021
From: ZHOU, JIANHUA; ZHANG, PO
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 058198/0384 →
Priority Claims (1)
CN 201510629175.3 · Sep 29, 2015 · national
Continuity (4)
Continuation 16726843 · Dec 25, 2019
Continuation 15927105 · Mar 21, 2018
Continuation PCTCN2016100824 · Sep 29, 2016
Related Publication 20220083465A1 · Mar 17, 2022