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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


