Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for storage interface bypassing Bio layer to access disk drive

A technology of disk drive and storage interface, applied in the field of computer data storage, can solve the problems of complex processing flow, performance loss, etc., achieve the effect of more versatility and portability, shorten processing time, and improve IO efficiency

Active Publication Date: 2012-11-21
深圳市安云信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The introduction of the Bio structure can unify the IO interfaces of different block devices. Because of the compatibility requirements of various block devices, the IO requests through the Bio layer have a relatively complicated processing flow, which brings limitations to applications in specific situations. , but also brings a loss of performance to a certain extent

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
  • Method for storage interface bypassing Bio layer to access disk drive
  • Method for storage interface bypassing Bio layer to access disk drive
  • Method for storage interface bypassing Bio layer to access disk drive

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In the prior art, all IO access through the Bio layer of the Linux system needs to hang the request on the block device request queue. In the Linux system, these request queues are common to all block devices and have a set of predetermined processing methods. However, in many applications, you need to design your own request queue and manage it in different ways, bypassing the Bio layer, and constructing your own request queue for different queue management methods will help to relieve this limitation.

[0032] In order to make the technical features and achieved technical effects of the solution of the present invention clearer, the specific implementation manners of the present invention will be described in detail below with reference to the accompanying drawings.

[0033] In order to realize the method of the present invention, it is necessary to establish a device model and a request queue first. Since Bio is bypassed for requesting, the management process of the q...

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

The invention provides a method for a storage interface bypassing a Bio layer to access disk drive, which comprises the following steps of: setting up an equipment module, wherein each disk equipment corresponds to a disk equipment object; packing an IO (Input Output) request initiated by an application program into an IO request object; setting up two stages of queue for each disk equipment: a waiting queue and a processing queue, wherein the waiting queues are used for sequentially receiving the IO request objects, and under the condition that the processing queues have a vacancy, the IO request objects are converted to the processing queues from the waiting queues; and creating a scanning tread for scanning the waiting queues of all the disk equipment objects, if the waiting queues have the IO request objects, the IO request objects are extracted from the processing queues and then are submitted to a bottom layer, and after the IO processing is finished, the IO request objects are removed from the processing queues.

Description

technical field [0001] The invention relates to computer data storage technology, in particular to a method for bypassing the Bio layer to access the storage interface of the disk drive. Background technique [0002] Currently commonly used input / output (IO) interfaces of disk devices include: Small Computer System Interface (SCSI, Small Computer System Interface), Serial Attached SCSI interface (SAS, Serial Attached SCSI) and Fiber Channel (FC, Fiber Channel). Various disk interface drivers based on the Linux operating system need to register at the Linux block device layer, and construct and submit IO requests through specific IO interfaces. [0003] The Linux 2.6 kernel officially introduced the Bio structure, which is a general description for most block devices to submit IO requests to the bottom layer. The processing flow of accessing the disk device through the Bio layer includes the following steps: [0004] Step 101: extract the information of the IO request submi...

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 Patents(China)
IPC IPC(8): G06F13/16
Inventor 饶国林
Owner 深圳市安云信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products