Unlock instant, AI-driven research and patent intelligence for your innovation.

Naming space management method and apparatus, and computer system

A computer system and namespace technology, applied in the computer field, can solve problems that affect the reliability of the computer system, the namespace cannot be accessed, and the namespace cannot be accessed normally.

Active Publication Date: 2017-03-08
HUAWEI TECH CO LTD
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the management method for namespaces in the prior art, when the actual accessible namespace changes, the computer system always takes the namespace that is successfully identified in the initialization process as the accessible namespace, and cannot normally access the changed namespace. Namespaces
[0005] For example, during the initialization process, the namespaces that failed to be identified, when these namespaces become normal at a certain moment, because these namespaces are still unrecognized in the computer system, these namespaces cannot be accessed, resulting in waste of resources
In addition, for the namespaces that are successfully identified by the computer system during the initialization process but become inaccessible later, if the computer system accesses these namespaces, it will fail, which affects the reliability of the computer system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Naming space management method and apparatus, and computer system
  • Naming space management method and apparatus, and computer system
  • Naming space management method and apparatus, and computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0095] Embodiment 1 of the present invention provides a namespace management method, which is applied to a controller of a solid-state hard disk. The solid-state hard disk is installed in a computer system. The computer system includes a driver, and the driver is used to drive the solid-state hard disk. refer to figure 1 As shown, the namespace management method provided by Embodiment 1 of the present invention specifically includes the following steps:

[0096] 101. The controller monitors the namespace event.

[0097] Wherein, the namespace event is triggered when the namespace of the solid state disk changes.

[0098] The solid-state disk may include multiple namespaces, and the namespace of the solid-state disk changes, including adding a new namespace based on an existing namespace, or deleting one or more of the existing namespaces. For example, in a specific application scenario, if a new NVMe storage medium is inserted into the NVMe backend, a new namespace will be a...

Embodiment 2

[0110] In combination with Embodiment 1, Embodiment 2 of the present invention provides a namespace management method, which is applied to a driver installed in a computer system, the computer system includes a solid-state hard disk, and the driver is used to drive the solid-state hard disk. refer to figure 2 As shown, the namespace management method provided by Embodiment 2 of the present invention specifically includes the following steps:

[0111] 201. The driver receives event description information sent by the controller of the solid state disk.

[0112] Wherein, the event description information is used to indicate the change of the namespace of the solid-state hard disk caused by the namespace event, and the namespace event is triggered when the namespace of the solid-state hard disk changes.

[0113] 202. Update the namespace accessible to the computer system according to the event description information.

[0114] After the initialization is completed, the namespa...

Embodiment 3

[0118] Based on Embodiment 1 and Embodiment 2, Embodiment 3 of the present invention provides a namespace management method applied to a computer system. The computer system includes a solid-state hard disk and a driver, the driver is used to drive the solid-state hard disk, and the controller of the solid-state hard disk performs read and write operations on the storage medium of the solid-state hard disk. Both the driver and the controller can be implemented by means of hardware, firmware, or software, or by a combination of the three.

[0119] combine image 3 As shown, the namespace management method provided by Embodiment 3 of the present invention specifically includes the following steps:

[0120] 301. The driver initializes the namespace of the solid state disk.

[0121] During the initialization process, the driver reads the maximum supported number of namespaces of the SSD from the register of the SSD, and initiates an identification (English full name: Identify) c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the invention provide a naming space management method and apparatus, and a computer system, and relate to the field of computers; and a naming space can be dynamically managed. According to the specific scheme, a controller monitors a naming space event; when the controller monitors that the naming space event is triggered, event description information is generated according to the naming space event, wherein the event description information is used for indicating a naming space change situation of a solid-state drive caused by the naming space event; and the controller sends the event description information to a driver, thereby enabling the driver to update the naming space accessible for the computer system according to the event description information. The method and the apparatus are used for controller and driver manufacturing.

Description

technical field [0001] The present invention relates to the computer field, in particular to a namespace (English full name: NameSpace) management method, device and computer system. Background technique [0002] Solid State Drives (full English name: Solid State Drives, English abbreviation: SSD) have great advantages in terms of performance and reliability compared to traditional magnetic media hard drives. Non-volatile memory (full English name: Non-Volatile Memory, English abbreviation: NVMe) is supported by mainstream manufacturers with its good open source ecosystem, and has gradually become a standard interface for solid-state drives and has been widely used. [0003] As the use environment becomes more complex, the namespace of NVMe changes from the initial one to multiple. When the computer system loads the driver to initialize NVMe, the driver reads the maximum supported number of NVMe namespaces from the NVMe register, and initiates the identification (English fu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30
Inventor 王俊捷郭海涛邱鑫
Owner HUAWEI TECH CO LTD