CN109032523A - A kind of disk unit driving method, system, device and readable storage medium storing program for executing - Google Patents

A kind of disk unit driving method, system, device and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109032523A
CN109032523A CN201810834200.5A CN201810834200A CN109032523A CN 109032523 A CN109032523 A CN 109032523A CN 201810834200 A CN201810834200 A CN 201810834200A CN 109032523 A CN109032523 A CN 109032523A
Authority
CN
China
Prior art keywords
disk
object run
issued
request
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810834200.5A
Other languages
Chinese (zh)
Other versions
CN109032523B (en
Inventor
耿芳忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810834200.5A priority Critical patent/CN109032523B/en
Publication of CN109032523A publication Critical patent/CN109032523A/en
Application granted granted Critical
Publication of CN109032523B publication Critical patent/CN109032523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0611Improving I/O performance in relation to response time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application discloses a kind of disk unit driving methods, due to the promotion of cpu performance, cpu resource in high-end devices is no longer in short supply, focus on how reducing using these cpu resources for higher efficiency handles time and delay, therefore can want to reduce the cpu resource occupied introduced request structure and block device subsystem directly around conventional magnetic disk apparatus driving method, directly requested using BIO processing function processing file system with the I/O of BIO construction packages, time complexity is reduced in a manner of increasing space complexity, it is able to possess lower processing time and I/O processing delay.The application further simultaneously discloses a kind of disk unit drive system, device and computer readable storage medium, has above-mentioned beneficial effect.

Description

A kind of disk unit driving method, system, device and readable storage medium storing program for executing
Technical field
This application involves device drives technical field, in particular to a kind of disk unit driving method, system, device and meter Calculation machine readable storage medium storing program for executing.
Background technique
Traditional Linux disk unit driving method is based on request (for setting to block defined in linux system Standby driving layer submits the data structure of I/O request) realize.I.e. positioned at file system lower layer block device subsystem first with With BIO structure, (one kind that linux system kernel defines is set for file system layer to block request construction packages file system Standby layer submits the data structure of I/O request, describe the direction of I/O request, the data buffer zone in memory, data length and The logical start address of block device) the I/O request that issues, packaged I/O request is then submitted to corresponding disk unit (disk) in block device (block device) request queue (request_queue), the scheduling of each request queue later Algorithm can call the request of corresponding disk unit driver that processing function is requested to be handled, and finally pass through disk end again Object run is issued to corresponding disk (as shown in Figure 1) by mouth.
This disk unit driving method is initially based on the data processing equipment exploitation of low performance, and being can be with less Cpu resource complete object run because block device subsystem can when submitting request queue of the request to corresponding block device, Each I/O with request construction packages arranged in request queue is requested the operation such as to be ranked up, merge, is significantly subtracted Tracking operand of the disk unit when handling I/O request is corresponded to less, to improve the I/O throughput of disk unit.
Since the chip manufacturing process developed along Moore's Law is horizontal, for the scheme that the performance of processor proposes than before Have and be obviously improved, is reducing occupancy CPU compared to the merging and sorting operation for passing through request structure and block device subsystem The effort that aspect of performance is made, increased CPU processing time and the corresponding I/O processing delay increased then seem more now Important, conventional magnetic disk apparatus driving method has been fallen behind.
Therefore, items technological deficiency existing for conventional magnetic disk apparatus driving method how is overcome, when a kind of CPU processing is provided Between shorter, the I/O processing lower disk unit driving method that is delayed be those skilled in the art's urgent problem to be solved.
Summary of the invention
The purpose of the application is to provide a kind of disk unit driving method, due to the promotion of cpu performance, in high-end devices Cpu resource is no longer in short supply, has focused on how being reduced using these cpu resources for higher efficiency is handled the time and prolonged When, therefore can want to reduce the introduced request structure of the cpu resource occupied directly around conventional magnetic disk apparatus driving method With block device subsystem, directly requested using BIO processing function processing file system with the I/O of BIO construction packages, to increase sky Between the mode of complexity reduce time complexity, be able to possess lower processing time and I/O processing delay.
The another object of the application is the provision of a kind of disk unit drive system, device and computer-readable storage medium Matter.
To achieve the above object, the application provides a kind of disk unit driving method, this method comprises:
Receive the I/O request that file system is issued with BIO structure;
It calls BIO request processing function to handle the I/O request, obtains object run and destination path;
The object run is issued to corresponding disk by the destination path.
Optionally, the disk unit driving method further include:
Name is named at different paths respectively in the different paths that same disk is had, and according to each pathname The table of comparisons is established in corresponding management between corresponding disk port;
It is corresponding, object run and destination path are obtained, specifically:
Obtain the pathname of the object run and the destination path;
It is corresponding, the object run is issued to by corresponding disk by the destination path, specifically:
Target disk corresponding with pathname port is checked in the table of comparisons, and the object run is passed through The target disk port is issued to corresponding disk.
Optionally, the object run is issued to corresponding disk by the target disk port, comprising:
The object run is issued to the target disk port by scsi command, so that the target disk port The object run is issued to corresponding disk by the communication link established between corresponding disk by itself.
Optionally, after the object run is issued to corresponding disk by the destination path, further includes:
Receive the operation implementing result that corresponding disk returns;
Determine the executive condition of I/O request according to the operation implementing result, and described in reporting by preset path Executive condition.
To achieve the above object, present invention also provides a kind of disk unit drive system, which includes:
I/O request reception unit, the I/O request issued for receiving file system with BIO structure;
I/O requesting processing, for calling BIO request processing function to handle I/O request, obtain object run and Destination path;
Object run corresponds to issuance unit, for the object run to be issued to corresponding magnetic by the destination path Disk.
Optionally, the disk unit drive system further include:
The name of multipath disk and the table of comparisons establish unit, and the different paths for same disk to have are respectively with difference Pathname be named, and the table of comparisons is established according to the corresponding management between each pathname and corresponding disk port;
It is corresponding, the I/O requesting processing specifically:
Obtain the pathname of the object run and the destination path;
Corresponding, the object run corresponds to issuance unit specifically:
Target disk corresponding with pathname port is checked in the table of comparisons, and the object run is passed through The target disk port is issued to corresponding disk.
Optionally, the object run corresponds to issuance unit, comprising:
The object run is issued to the target disk port by scsi command, so that the target disk port The object run is issued to corresponding disk by the communication link established between corresponding disk by itself.
Optionally, the disk unit drive system further include:
Implementing result receiving unit is operated, the operation implementing result returned for receiving corresponding disk;
Executive condition determination and reporting unit, for determining the execution of the I/O request according to the operation implementing result Situation, and the executive condition is reported by preset path.
To achieve the above object, present invention also provides a kind of disk unit driving device, which includes:
Memory, for storing computer program;
Processor realizes the disk unit driving method as described in above content when for executing the computer program The step of.
To achieve the above object, described computer-readable to deposit present invention also provides a kind of computer readable storage medium It is stored with computer program on storage media, the magnetic as described in above content is realized when the computer program is executed by processor The step of disc apparatus driving method.
Obviously, a kind of disk unit driving method provided herein, due to the promotion of cpu performance, in high-end devices Cpu resource it is no longer in short supply, focused on how higher efficiency reduced using these cpu resources processing the time and Delay, therefore can want to reduce the introduced request knot of the cpu resource occupied directly around conventional magnetic disk apparatus driving method Structure and block device subsystem are directly requested using BIO processing function processing file system with the I/O of BIO construction packages, to increase The mode of space complexity reduces time complexity, is able to possess lower processing time and I/O processing delay.The application is simultaneously A kind of disk unit drive system, device and computer readable storage medium are additionally provided, there is above-mentioned beneficial effect, herein not It repeats again.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the logical construction schematic diagram of conventional magnetic disk apparatus driving method;
Fig. 2 is a kind of flow chart of disk unit driving method provided by the embodiments of the present application;
Fig. 3 is a kind of logical construction schematic diagram that the multipath disk based on divice mapper is directed toward;
Fig. 4 is the flow chart of another disk unit driving method provided by the embodiments of the present application;
Fig. 5 is a kind of logical construction schematic diagram of disk unit driving method provided by the embodiments of the present application;
Fig. 6 is a kind of structural block diagram of disk unit drive system provided by the embodiments of the present application.
Specific embodiment
The core of the application is to provide a kind of disk unit driving method, system, device and computer readable storage medium, Due to the promotion of cpu performance, the cpu resource in high-end devices is no longer in short supply, focused on how the benefit of higher efficiency Processing time and delay are reduced with these cpu resources, therefore can want to reduce directly around conventional magnetic disk apparatus driving method The introduced request structure of the cpu resource of occupancy and block device subsystem directly handle file system using BIO processing function System is requested with the I/O of BIO construction packages, and time complexity is reduced in a manner of increasing space complexity, is able to possess lower Handle time and I/O processing delay.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art All other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Embodiment one
Below in conjunction with Fig. 2, Fig. 2 is a kind of flow chart of disk unit driving method provided by the embodiments of the present application, tool Body the following steps are included:
S101: the I/O request that file system is issued with BIO structure is received;
This step is intended to receive the I/O request issued from file system, in linux system under core framework, file system The I/O request issued is issued with BIO data structure, and it is slow that the direction of I/O request, the data in memory are described in this structure Rush logical start address's (i.e. logical block number (LBN)) of area, data length and block device.
S102: BIO request processing function processing I/O request is called, object run and destination path are obtained;
On the basis of S101, this step is intended to call directly BIO request processing function and asks to handle the I/O received It asks, to obtain object run and destination path from the I/O request encapsulated with BIO data structure, wherein whether object run It is specific need to be gone by the disk unit of bottom that is executed operate, including write operation (read), read operation (write) and opening (open) is operated with creation, destination path is that a direction is corresponding hard disk " road ", will pass through this " road " for object run It is issued to corresponding disk.
It should be noted that, often according to complicated actual demand, a disk may under current system application environment There can be mulitpath, i.e., a plurality of different path finally all points to a disk, but the length of each path may be different, but It is essentially all " reaching the same goal by different routes " that this kind of function is commonly known as the multipath function of disk unit.
And the disk unit multipath function of current linux system, it is the device mapper by kernel (device mapper is the common apparatus mapping mechanism of support logic volume management in linux kernel, it is realization for storing The Block Device Driver of resource management provides the core architecture of a high modularization) module realization, device mapper mould The disk unit that block can recognize disk driver confirms that it is that an individual disk is set according to the title of equipment An identical disk unit that is standby, or passing through different path discoveries.If situation belongs to the latter, it can generate a tool There is the visible new equipment of same names to indicate this multipath disk unit, the ordinary magnetic disc with identical device name is set It is standby, it is exactly the path (path) of this multipath disk unit.
When the I/O request from file system is submitted to multipath disk unit in the form of request When request_queue, request is forwarded to by the dispatching algorithm meeting passage path selection algorithm of this request_queue One of path (path) of multipath disk drive.As it was noted above, this path is a disk unit in fact, it has The request_queue of oneself is transmitted to its request by the request request processing function of disk unit driver Processing.So the process in selection path, is exactly the process of a forwarding request, this part can be found in Fig. 3.
And the application is to realize higher CPU processing speed and lower I/O request processing delay, without with request Structure encapsulation of data again, without the equipment subsystem using each disk of block to each I/O for being arranged in request_queue Request is ranked up and union operation, correspondingly, the multipath function of conventional magnetic disk apparatus also can not normal use, need corresponding Be modified.It is different from representation method special based on device mapper and multipath disk as shown in Figure 4, Ke Yizhi The different paths by identical disk is directed toward are connect with different pathnames, only these pathnames finally all point to a unique object Manage disk, be similar to many-to-one mapping relations, therefore also just do not have to deliberately go distinguish whether be multipath disk and Ordinary magnetic disc, only the corresponding path of the multiple several pathnames of multipath disk can lead to this disk.
S103: object run is issued to by corresponding disk by destination path.
On the basis of S102, this step is intended to the destination path by determining and object run is issued to corresponding magnetic Disk.Level as shown in connection with fig. 3, a kind of implementation for including but is not limited to are as follows:
Object run is issued to target disk corresponding with destination path port by scsi command, so that target disk Port passes through the communication link itself established between corresponding disk and object run is issued to corresponding disk.Wherein, SCSI (Small Computer System Interface, small computer system interface) defines the hardware+software of complete set Specification, realizes connection and the data access of host and external equipment, and is generally used for enterprise information system.
Further, it is also contemplated that after being issued to corresponding disk to object run, receive the operation returned by disk Implementing result, in order to which topmost paper system confirms the executive condition of this I/O operation, if it exists exception or problem can also and Shi Faxian is simultaneously repaired.Further, be also based on log form record in detail the issuing of the request of I/O each time, Feedback procedure uses in order to which the later period traces.
Based on the above-mentioned technical proposal, a kind of disk unit driving method provided by the embodiments of the present application, due to cpu performance It is promoted, the cpu resource in high-end devices is no longer in short supply, has focused on how higher efficiency utilizes these cpu resources Time and delay are handled to reduce, therefore can want to reduce the cpu resource occupied directly around conventional magnetic disk apparatus driving method Introduced request structure and block device subsystem, directly using BIO processing function processing file system with BIO structure envelope The I/O of dress is requested, and time complexity is reduced in a manner of increasing space complexity, is able to possess lower processing time and I/O Processing delay.
Embodiment two
Below in conjunction with Fig. 4, Fig. 4 is the flow chart of another disk unit driving method provided by the embodiments of the present application, this Embodiment on the basis of example 1, provides a kind of each path for multipath disk and is named as different pathnames, And the mode of the table of comparisons is established to provide multipath function according to the corresponding management between each pathname and corresponding disk port, it is not necessarily to The misoperation probability of user terminal is also reduced by the processing of block device subsystem, and due to invisible, specific implementation step is such as Under:
S201: the I/O request that file system is issued with BIO structure is received;
S202: name is named at different paths respectively in the different paths that same disk is had, and according to each path Name establishes the table of comparisons with the corresponding management between corresponding disk port;
Such as disk A possesses 5 different paths, is X1, X2, X3, X4 and X5 respectively, and by difference in the table of comparisons The corresponding relationship of X1 → A, X2 → A, X3 → A, X4 → A and X5 → A are established, signified corresponding relationship refers to leading to herein The data transmission port of disk A.
S203: BIO request processing function processing I/O request is called, the pathname of object run and destination path is obtained;
S204: target disk corresponding with pathname port is checked in the table of comparisons, and object run is passed through into target magnetic Disk port is issued to corresponding disk;
S205: the operation implementing result that corresponding disk returns is received, and holding for I/O request is determined according to operation implementing result Market condition, and executive condition is reported by preset path.
The present embodiment also adds S205 step for confirming that the I/O of bottom disk requests executive condition, by default Path reports executive condition, to be fed back or be noted abnormalities in time and failure.Wherein, preset path can voluntarily be set by user It is fixed, the measures such as instant messaging program, mail, interface pop-up, prompt tone, warning lamp are specifically included, herein and are not specifically limited, It can flexible choice according to the actual situation.
Embodiment three
The present embodiment, in conjunction with the hierarchical structure of Fig. 1, Fig. 3, gives a kind of specific reality on the basis of the various embodiments described above The logical schematic of existing mode, refers to Fig. 5:
The disk unit driving method under a kind of linux system is present embodiments provided, for driving External memory equipment It is mapped to the logic magnetic disc equipment (LUN) of host system, this method directly handles sealing with BIO data structure from file system The I/O of dress is requested, no longer via the secondary encapsulation of the request data structure of block device subsystem (block subsystem), It can be around the block device subsystem of linux system and these block device subsystems to being arranged in request_queue The operations such as sequence and merging that each I/O request carries out.For External memory equipment, I/O request eventually falls in storage and is situated between Operation in matter is the work of array of storage devices (RAID), does relevant sequence work in host side and is not worth, Er Qielang Take the valuable CPU time, increases I/O processing delay.
It is provided by the present application since I/O request of the file system to device file is encapsulated with BIO data structure Driving method constructs the BIO that one can directly parse the I/O request of BIO data structure performance and handles function, Find the required following key factor of I/O request operation: the data buffer zone I/O, I/O data length, starting block and the side I/O To (reading or writing).
Wherein, it is different from traditional multipath function as shown in Figure 4, the realization of multipath function is integrated in by the present embodiment In multipath disk driver, in which:
1. path discovery function is realized in the device enumeration stage.In the device object of the multipath disk driver, packet Containing the data for indicating group of paths, the equipment for having identical device name of discovery can be stored in the device enumeration stage It creates in the group of paths of device object, rather than creates new device object.Group of paths data in this device object supply The Path selection function of later I/O Request uses.
2. Path selection/load-balancing function requests to select in processing function by the path in call driver in BIO Select function realization.Before treatment, meeting passage path selection algorithm selects a paths, further according to the path of selection, structure to BIO Make corresponding scsi command.This scsi command will be transmitted to the processing of HBA driver later.
Wherein, HBA (Host Bus Adapter, host bus adaptor) is one and mentions between server and storage device For the circuit board and/or integrated circuit adapter of input/output (I/O) processing and physical connection.Because HBA alleviates main process task For device in the burden of data storage and search task, it can be improved the performance of server.One HBA and the disk being attached thereto System is referred to as a disk channel sometimes along.
Because situation is complicated, it can not enumerate and be illustrated, those skilled in the art should be able to recognize according to the application The basic skills principle combination actual conditions of offer may exist many examples, in the case where not paying enough creative works, It should within the scope of protection of this application.
Fig. 6 is referred to below, Fig. 6 is a kind of structural block diagram of disk unit drive system provided by the embodiments of the present application, The disk unit drive system may include:
I/O request reception unit 100, the I/O request issued for receiving file system with BIO structure;
I/O requesting processing 200 obtains target behaviour for calling BIO request processing function to handle the I/O request Work and destination path;
Object run corresponds to issuance unit 300, for the object run to be issued to correspondence by the destination path Disk.
Further, the disk unit drive system further include:
The name of multipath disk and the table of comparisons establish unit, and the different paths for same disk to have are respectively with difference Pathname be named, and the table of comparisons is established according to the corresponding management between each pathname and corresponding disk port;
It is corresponding, the I/O requesting processing 200 specifically:
Obtain the pathname of the object run and the destination path;
Corresponding, the object run corresponds to issuance unit 300 specifically:
Target disk corresponding with pathname port is checked in the table of comparisons, and the object run is passed through The target disk port is issued to corresponding disk.
Wherein, the object run corresponds to issuance unit 300 and may include:
The object run is issued to the target disk port by scsi command, so that the target disk port The object run is issued to corresponding disk by the communication link established between corresponding disk by itself.
Further, which can also include:
Implementing result receiving unit is operated, the operation implementing result returned for receiving corresponding disk;
Executive condition determination and reporting unit, for determining the execution of the I/O request according to the operation implementing result Situation, and the executive condition is reported by preset path.
Based on the above embodiment, present invention also provides a kind of disk unit driving device, the apparatus may include storages Device and processor, wherein have computer program in the memory, which calls the computer program in the memory When, step provided by above-described embodiment may be implemented.Certainly, which can also include various necessary network interfaces, electricity Source and other components etc..
Present invention also provides a kind of computer readable storage mediums, have computer program thereon, the computer program Step provided by above-described embodiment may be implemented when being performed terminal or processor execution.The storage medium may include: U Disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), the various media that can store program code such as magnetic or disk.
Specific examples are used herein to illustrate the principle and implementation manner of the present application, and adopts between each embodiment Described with progressive mode, each embodiment focuses on the differences from other embodiments, each embodiment it Between same and similar part may refer to each other.For the device disclosed in the embodiment, as itself and method disclosed in embodiment Corresponding, relevant portion can directly visit method part.Above the explanation of each embodiment is used to help understand the core of the application Thought thinks, for those skilled in the art, several improvement for carrying out under core concept guidance and repairs Decorations should also be fallen into the protection scope of the claim of this application.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also other elements including being not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or equipment for including element.

Claims (10)

1. a kind of disk unit driving method characterized by comprising
Receive the I/O request that file system is issued with BIO structure;
It calls BIO request processing function to handle the I/O request, obtains object run and destination path;
The object run is issued to corresponding disk by the destination path.
2. disk unit driving method according to claim 1, which is characterized in that further include:
Name is named at different paths respectively in the different paths that same disk is had, and according to each pathname with it is right The corresponding management between disk port is answered to establish the table of comparisons;
It is corresponding, object run and destination path are obtained, specifically:
Obtain the pathname of the object run and the destination path;
It is corresponding, the object run is issued to by corresponding disk by the destination path, specifically:
Target disk corresponding with pathname port is checked in the table of comparisons, and by the object run described in Target disk port is issued to corresponding disk.
3. disk unit driving method according to claim 2, which is characterized in that the object run is passed through the mesh Mark disk port is issued to corresponding disk, comprising:
The object run is issued to the target disk port by scsi command, so that the target disk port passes through The object run is issued to corresponding disk by the communication link itself established between corresponding disk.
4. disk unit driving method according to any one of claims 1 to 3, which is characterized in that passing through the target The object run is issued to after corresponding disk by path, further includes:
Receive the operation implementing result that corresponding disk returns;
The executive condition of the I/O request is determined according to the operation implementing result, and the execution is reported by preset path Situation.
5. a kind of disk unit drive system characterized by comprising
I/O request reception unit, the I/O request issued for receiving file system with BIO structure;
I/O requesting processing obtains object run and target for calling BIO request processing function to handle the I/O request Path;
Object run corresponds to issuance unit, for the object run to be issued to corresponding disk by the destination path.
6. disk unit drive system according to claim 5, which is characterized in that further include:
The name of multipath disk and the table of comparisons establish unit, and the different paths for same disk to have are respectively with different roads Diameter name is named, and establishes the table of comparisons according to the corresponding management between each pathname and corresponding disk port;
It is corresponding, the I/O requesting processing specifically:
Obtain the pathname of the object run and the destination path;
Corresponding, the object run corresponds to issuance unit specifically:
Target disk corresponding with pathname port is checked in the table of comparisons, and by the object run described in Target disk port is issued to corresponding disk.
7. disk unit drive system according to claim 6, which is characterized in that the corresponding lower bill of the object run Member, comprising:
The object run is issued to the target disk port by scsi command, so that the target disk port passes through The object run is issued to corresponding disk by the communication link itself established between corresponding disk.
8. according to the described in any item disk unit drive systems of claim 5 to 7, which is characterized in that further include:
Implementing result receiving unit is operated, the operation implementing result returned for receiving corresponding disk;
Executive condition determination and reporting unit, for determining the executive condition of the I/O request according to the operation implementing result, And the executive condition is reported by preset path.
9. a kind of disk unit driving device characterized by comprising
Memory, for storing computer program;
Processor is realized when for executing the computer program such as the described in any item disk unit drivings of Claims 1-4 The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as Claims 1-4 described in any item disk unit driving sides when the computer program is executed by processor The step of method.
CN201810834200.5A 2018-07-26 2018-07-26 Disk device driving method, system, device and readable storage medium Active CN109032523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810834200.5A CN109032523B (en) 2018-07-26 2018-07-26 Disk device driving method, system, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810834200.5A CN109032523B (en) 2018-07-26 2018-07-26 Disk device driving method, system, device and readable storage medium

Publications (2)

Publication Number Publication Date
CN109032523A true CN109032523A (en) 2018-12-18
CN109032523B CN109032523B (en) 2021-08-10

Family

ID=64646560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810834200.5A Active CN109032523B (en) 2018-07-26 2018-07-26 Disk device driving method, system, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN109032523B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080195832A1 (en) * 2007-02-13 2008-08-14 Hitachi, Ltd. Storage controller and storage system
CN101266541A (en) * 2007-03-16 2008-09-17 武汉海恒信息存储有限责任公司 ISCSI target device and memory apparatus interface method
CN102073605A (en) * 2010-12-27 2011-05-25 深圳市创新科信息技术有限公司 Method for storage interface bypassing Bio layer to access disk drive
CN103226448A (en) * 2013-03-21 2013-07-31 华为技术有限公司 Driving method and device for SSD (solid state disk)
CN104793892A (en) * 2014-01-20 2015-07-22 上海优刻得信息科技有限公司 Method for accelerating random in-out (IO) read-write of disk
CN106325974A (en) * 2016-08-11 2017-01-11 浪潮(北京)电子信息产业有限公司 Virtualization IO performance optimization method and system
CN107562383A (en) * 2017-09-05 2018-01-09 联想(北京)有限公司 Information processing method, storage device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080195832A1 (en) * 2007-02-13 2008-08-14 Hitachi, Ltd. Storage controller and storage system
CN101266541A (en) * 2007-03-16 2008-09-17 武汉海恒信息存储有限责任公司 ISCSI target device and memory apparatus interface method
CN102073605A (en) * 2010-12-27 2011-05-25 深圳市创新科信息技术有限公司 Method for storage interface bypassing Bio layer to access disk drive
CN103226448A (en) * 2013-03-21 2013-07-31 华为技术有限公司 Driving method and device for SSD (solid state disk)
CN104793892A (en) * 2014-01-20 2015-07-22 上海优刻得信息科技有限公司 Method for accelerating random in-out (IO) read-write of disk
CN106325974A (en) * 2016-08-11 2017-01-11 浪潮(北京)电子信息产业有限公司 Virtualization IO performance optimization method and system
CN107562383A (en) * 2017-09-05 2018-01-09 联想(北京)有限公司 Information processing method, storage device and storage medium

Also Published As

Publication number Publication date
CN109032523B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
US9959229B2 (en) Associating process priority with I/O queuing
JP6138275B2 (en) Data storage method and storage device
JP4961481B2 (en) Bridging Serial Advanced Technology Attachment (SATA) and Serial Attached Small Computer System Interface (SCSI) (SAS)
US8874822B2 (en) Scheduling access requests for a multi-bank low-latency random read memory device
US9274844B2 (en) Priority-based management of system load level
JP5149912B2 (en) Selective use of multiple disparate solid-state storage locations
US6633954B1 (en) Method for enhancing host application performance with a DASD using task priorities
US8635421B2 (en) Snapshot based replication
US8042115B2 (en) Method and system for balancing component load in an input/output stack of an operating system
US20080043563A1 (en) Flexibly controlling the transfer of data between input/output devices and memory
US8359437B2 (en) Virtual computing memory stacking
CN102486752A (en) Data prefetch in sas expander
US20220179585A1 (en) Management of Idle Time Compute Tasks in Storage Systems
US7130928B2 (en) Method and apparatus for managing i/o paths on a storage network
CN102402401A (en) Method for scheduling input output (IO) request queue of disk
CN109978369A (en) Work order generation method, device, electronic equipment and storage medium
CN108089822A (en) Management method, system, equipment and the storage medium of storage chip
CN101154202A (en) Managing system management interrupts in a multiprocessor computer system
CN109190993A (en) And dullness degree method, apparatus, server and storage medium
CN109152061A (en) Channel agility method, apparatus, server and storage medium
CN106648851A (en) IO management method and device used in multi-controller storage
CN103986585A (en) Message preprocessing method and device
CN109144908A (en) A kind of data-storage system and method based on cascade Expander
CN106502581B (en) Flash controller, flash memory control method and solid state hard disk
CN110351327A (en) Confirmation method, device, electronic equipment and the medium of resource processing platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant