[go: up one dir, main page]

CN103617136B - SCSI drive side and I/O request control method - Google Patents

SCSI drive side and I/O request control method Download PDF

Info

Publication number
CN103617136B
CN103617136B CN201310647835.1A CN201310647835A CN103617136B CN 103617136 B CN103617136 B CN 103617136B CN 201310647835 A CN201310647835 A CN 201310647835A CN 103617136 B CN103617136 B CN 103617136B
Authority
CN
China
Prior art keywords
request
physical block
block address
storage system
merging
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.)
Active
Application number
CN201310647835.1A
Other languages
Chinese (zh)
Other versions
CN103617136A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310647835.1A priority Critical patent/CN103617136B/en
Publication of CN103617136A publication Critical patent/CN103617136A/en
Application granted granted Critical
Publication of CN103617136B publication Critical patent/CN103617136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides an SCSI drive side and an I/O request control method. The control method comprises the steps of obtaining corresponding physical block addresses according to logical block addresses in multiple received I/O requests, wherein the I/O requests are data access requests for logical blocks in multiple logical spaces in an SAN storage system; merging the I/O requests corresponding to the continuous physical block addresses according to the continuity of the physical block addresses; gathering the merged I/O requests in an SCSI order to be sent to the SAN storage system. By adopting the mode, the I/O requests distributed in different logical spaces can be merged, accordingly the merging possibility of multiple I/O requests during data access is improved, interaction of the I/O requests in a transmission path is reduced, and the access performance of the I/O requests is remarkably improved.

Description

Scsi driving side and the control method of i/o request
Technical field
The present invention relates to data access and technical field of memory, more particularly to a kind of scsi driving side and i/o request Control method.
Background technology
Currently, san(storage area network, storage area network) storage system generally comprises multiple disks and sets The standby physical block (physical blocks, pb) providing, these physical blocks pass through raid(redundant arrays of Inexpensive disks, redundant arrays of inexpensive disks) technology etc. is combined into memory resource pool, and memory resource pool is assigned as Multiple logical spaces (logical unit number, lun), each logical space comprises one or more logical blocks (logical blocks, lb).
When the data to logical space conducts interviews, main frame generates one or more i/o requests according to requirements for access, and Send it to scsi(small computer system interface, small computer system interface) driving side.Then Scsi driving side generates drive command and sends this drive command to san storage system, and san storage system is according to receiving Drive command is written and read to the data of logical space.In prior art, in order to lift the access performance of i/o request, scsi drives Dynamic side would generally merge to multiple i/o request, is taken and interaction with reducing its queue in transmission channel.However, it is existing Technology is had to be only capable of the multiple i/o requests being distributed in same logical space being merged, to the access performance that lifting i/o asks Effect is not notable.
Content of the invention
In consideration of it, the present invention provides a kind of scsi driving side and the control method of i/o request, to be obviously improved i/o request Access performance.
First aspect provides a kind of control method of i/o request, for carrying out data access to san storage system, this control Method processed includes: receives multiple i/o requests, and corresponding physical block address determined according to the LBA in i/o request, its In multiple i/o ask to be the request that the logical block to multiple logical spaces carries out data access;Continuous according to physical block address Property, the merging to multiple i/o request;I/o request after merging is polymerized to a scsi order, sends to san storage system.
In conjunction with the implementation of first aspect, in the first possible implementation, according to the logical block in i/o request Address determines that the step of corresponding physical block address includes: sends query statement to san storage system, and receives san storage system The LBA of system feedback and the mapping table of physical block address;According to mapping table, inquiry obtains the logic in multiple i/o requests The corresponding physical block address of block address.
In conjunction with the first possible implementation of first aspect, in the possible implementation of second, logical block ground Location and physical block address have identical byte block size.
In conjunction with the implementation of first aspect, in the third possible implementation, continuous according to physical block address Property, the step that multiple i/o request is merged includes: chooses continuous physical block ground in the physical block address that inquiry obtains Location, and corresponding for continuous physical block address i/o request is carried out merging for the first time;Choose in the physical block address that inquiry obtains Discontinuous physical block address, and i/o corresponding to discontinuous physical block address request be ranked up;By the i/o after sequence I/o request after request was merged with first time carries out second merging.
In conjunction with the implementation of first aspect, in the 4th kind of possible implementation, multiple i/o request is merged Step before include: pre-defined merge section;The step that the plurality of i/o request is merged includes: is pointed to same Physical block address corresponding i/o request within one merging section merges, to form an i/o request;It is pointed to same Physical block address corresponding i/o request outside merging section does not merge, to form the 2nd i/o request.
In conjunction with the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, after merging I/o request be polymerized to a scsi order, send and include to the step of san storage system: by the first i/o request and the 2nd i/ O request is polymerized in a scsi order, and scsi order is sent to san storage system.
Second aspect provides a kind of scsi driving side, comprising: the first receiving unit, for receiving multiple i/o requests, and connects Receive the corresponding physical block address that san storage system determines, plurality of i/o request according to the LBA in i/o request It is the request that logical block to the multiple logical spaces in san storage system carries out data access;First processing units, for root According to first receiving unit receive physical block address seriality, to multiple i/o request merge, and by merge after i/o Request is polymerized to a scsi order;First transmitting element, for sending scsi order to san storage system.
In conjunction with the implementation of second aspect, in the first possible implementation, first processing units are used for basis The multiple i/o request that first receiving unit receives generates query statements, and control the first transmitting element by query statement send to San storage system, the first receiving unit receives the LBA of san storage system feedback and the mapping table of physical block address, First processing units obtain the corresponding physical block address of LBA in multiple i/o requests according to mapping table inquiry.
In conjunction with the first possible implementation of second aspect, in the possible implementation of second, logical block ground Location and physical block address have identical byte block size.
In conjunction with the implementation of second aspect, in the third possible implementation, first processing units are additionally operable to select Take continuous physical block address in the physical block address that inquiry obtains, and by corresponding for continuous physical block address i/o ask into Row merges for the first time, and chooses discontinuous physical block address in the physical block address that inquiry obtains, and to discontinuous thing Reason block address corresponding i/o request is ranked up, and the i/o request after the i/o request after sequence was merged with first time is carried out Merge for second.
In conjunction with the implementation of second aspect, in the 4th kind of possible implementation, first processing units are additionally operable to pre- First definition merges section, and the physical block address corresponding i/o request being pointed within same merging section merges, with shape Become the first i/o request, and be pointed to same merge section outside physical block address corresponding i/o request do not merge, To form the 2nd i/o request.
In conjunction with the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation, the first process Unit is additionally operable to an i/o request and the 2nd i/o request are polymerized in a scsi order, and controls the first transmitting element to incite somebody to action Scsi order sends to san storage system.
The invention has the beneficial effects as follows: it is different from the situation of prior art, the present invention passes through to obtain patrolling of multiple i/o request Volume block address corresponding physical block address in san storage system, and according to the seriality of physical block address by continuous physics Block address corresponding i/o request merges such that it is able to complete to be distributed in the merging of the i/o request of multiple logical spaces, subtracts Queue in transmission channel for few i/o request takies and interaction, and is obviously improved the access performance of i/o request.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, other accompanying drawings can also be obtained according to these accompanying drawings.Wherein:
Fig. 1 is the flow chart of the control method of i/o request of first embodiment of the invention;
Fig. 2 is the theory diagram of san storage system preferred embodiment of the present invention;
Fig. 3 is the theory diagram of the control system of i/o request of first embodiment of the invention;
Fig. 4 is the theory diagram of the control system of i/o request of fourth embodiment of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.
The present invention provides a kind of i/o control method of request, the control of first embodiment of the invention shown in Figure 1 The flow chart of method.The control method of the i/o request of the present embodiment is used for storage money in the san storage system 210 shown in Fig. 2 Multiple logical space lun0 in source pond 240, lun1 ..., lunx carry out data access, that is, to each logical space lun0, Lun1 ..., lunx include multiple logical block lb0, lb1 ... lba ..., lbn carry out data access.Above-mentioned to logical space Lun0, lun1 ..., the data access that carries out of lunx, final entity show as to physical block pb0, pb1 ..., the number of pbn storage According to conducting interviews.It should be noted that the present invention in full mentioned by data access refer to the reading to data, call and Other any operations that data storage can be carried out such as write.
As shown in figure 1, the control method of the i/o request disclosed in the present embodiment includes:
Step s11:scsi driving side receives multiple i/o requests, and is deposited from san according to the LBA in i/o request Storage system obtains corresponding physical block address, and plurality of i/o asks to be to carry out data to the logical block in multiple logical spaces The request accessing.
Refering to Fig. 2, when needing to carry out data access to the logical block in Different Logic space, the application of main frame can be corresponding Generation multiple i/o request Concurrency deliver to scsi driving side.For example, in the logical block lb2 to logical space lun0, logical space When the logical block lb2 of logical block lb7, lb50 of lun2 and logical space lun9 carries out data access, scsi driving side corresponds to The multiple i/o request receiving is followed successively by io-1(lun0, lba2, len3), io-2(lun2, lba7, len1), io-3(lun9, Lba2, len2), io-4(lun2, lba50, len2).
Scsi driving side after finishing receiving above-mentioned i/o request, that is, accordingly generates a query statement sending and deposits to san Storage system.Wherein, this query statement is a kind of scsi order, and it is sent by bus in the form of byte stream and stores system to san System, the present embodiment preferably this scsi order adopts cdb(command descriptor blocks as shown in table 1 below, order Description block) form, correspondingly, the parameter format of this order is as shown in table 2 below:
Table 1
Table 2
San storage system parses to its special parameter after receiving this query statement, and obtains io- in systems 1st, io-2, io-3 and io-4 need reflecting of the corresponding physical block address of physical block of the LBA of the logical block accessing Penetrate relation, shown in table 3 specific as follows:
I/o asks Physical block address
Io-1(lun0, lba2, len3) (pba10, len3)
Io-2(lun2, lba7, len1) (pba2, len1)
Io-3(lun9, lba2, len2) (pba13, len2)
Io-4(lun2, lba50, len2) (pba100, len0)
Table 3
Mapping relations are sent to scsi driving side by san storage system, are embodied in by mapping as shown in table 4 below The response to the scsi order shown in upper table 1 for the description.
Table 4
In the present embodiment, the mapping relations that san storage system obtains are the logical block needing in multiple i/o requests to access The corresponding physical block address of physical block of LBA one-to-one relationship.Further, for ease of searching, this The mapping relations receiving are shown, then in mapping table in the form of mapping table by embodiment preferred scsi driving side first The corresponding physical block of logical block of multiple i/o requests that middle inquire-receive arrives.
In other embodiments, san storage system can also obtain reflecting of whole LBAs and physical block address Penetrate relation, and be sent to scsi driving side, so that scsi driving side is according to mapping relationship searching LBA to be accessed Corresponding physical block address.Or, the LBA pair that san storage system can directly will need in multiple i/o request to access The physical block address answered feeds back to scsi driving side.
It should be noted that the mapping relations that full text of the present invention refers to are embodied in the LBA of logical block (logical block address, lba) and the physical block address (physical block address, pba) of physical block One-to-one relationship, and using during scsi order shown in above-mentioned table 1, the LBA to logical block and the thing of physical block The description of reason block address adopts block of bytes (block) size of formed objects.
Step s12:scsi driving side, please by corresponding for multiple physical block address i/o according to the seriality of physical block address Ask and merge.
Understand refering to upper table 3, io-1, io-2, io-3 and io-4 of acquisition need the corresponding physical block of logical block accessing Physical address be (pba10, len3), (pba2, len1), (pba13, len2), (pba100, len2).
Then, choose the continuous physical block in address in four physical blocks obtaining.Successional calculation based on prior art Method, len represents the length (length) of physical block it is known that in four physical blocks obtaining, continuous physical block address is (pba10, len3) and (pba13, len2).Corresponding for continuous physical block address i/o request is carried out merging for the first time, will Io-1 and io-3 merges, and is io-1-3 after merging.
Choose wherein discontinuous physical block address, i.e. (pba2, len1) and (pba10, len3) and (pba13, len2) It is discontinuous.Discontinuous physical block address is ranked up, then by the physical block address corresponding i/o request after sequence I/o request after merging with first time carries out second merging, will io-1-3 and io-2 merge, and is io-2- after merging 1-3.
I/o request after step s13:scsi driving side will merge is polymerized to a scsi order, sends and stores system to san System.
I/o after scsi driving side will merge asks, i.e. io-2-1-3 sends to san storage system.Wherein, io-2-1- 3 is a kind of discontinuous polymerization in address i/o request, because it has been polymerized the i/o request in Different Logic space it is therefore desirable to a kind of Polymerization scsi order sends it to san storage system, and this polymerization scsi order can be using the cdb form shown in table 5 below:
Table 5
San storage system, after receiving this polymerization scsi order, is asked by processing the i/o after being merged, and according to This complete paired data accesses.
According to the concrete operations of data access, need the form of the visit order of construction different, such as to logical space When data is write, data-out buffer command format need to be constructed;When the data of logical space is read out, need structure Make data-in buffer command format.When being conducted interviews to data using above-mentioned read write command form in addition it is also necessary to read-write Flow process makes a distinction, specifically, when carrying out writing flow process using as shown in table 6 below, when being read out flow process using such as Shown in table 7 below.Wherein, the parameter format of above-mentioned data-out buffer command format and data-in buffer command format As shown in table 8 below.
Table 6
Table 7
Table 8
Based on above-mentioned it is known that the present embodiment is right in san storage system by obtaining the LBA that multiple i/o ask The physical block address answered, and according to the seriality of physical block address, corresponding i/o request is merged, thus completing to be distributed in The merging of multiple i/o requests of multiple logical spaces, reduces queue in transmission channel for the i/o request and takies and interaction, enter And it is obviously improved the access performance of i/o request.
The present invention also provides the control method that the i/o of second embodiment asks, its control disclosed in first embodiment It is described in detail on the basis of method.The present embodiment is with the difference of first embodiment shown in Fig. 1:
In step s12, the not multiple i/o requests in same merging section are not merged.In the present embodiment, Merging section is the division that the logical block (lba) to the multiple logical spaces in san storage system carries out region, to avoid when each Even if individual lba merges when being separated by larger in transmission channel nor significantly reduces i/o and asks in transmission channel Queue takies, and the access performance of i/o request is not also obviously improved.
For the division size merging the block of bytes of lba in section, those skilled in the art can set according to actual needs, The for example predefined section partition lba that merges is 30 block of bytes, then lba50 and lba2, lba7, lba2 be not an assembly section Section is that is to say, that io-4(lun2, lba50, len2) and above three i/o ask, i.e. io-1(lun0, lba2, len3), io-2 (lun2, lba7, len1) and io-3(lun9, lba2, len2), do not merge section at one, then io-4 can not be with io-1, io- 2nd, io-3 merges.
Merge being pointed to the same physical block address corresponding i/o merging within section request, to form first I/o asks, i.e. io-2-1-3.Be pointed to same merge section outside physical block address corresponding i/o request do not merge, To form the 2nd i/o request, i.e. io-4(lun2, lba50, len2).
In step s13, the first i/o request and the 2nd i/o request are polymerized in a scsi order scsi driving side, and This scsi order is sent to san storage system.San storage system parses this scsi order with to an i/o request and second I/o request is responded respectively.
The present embodiment can be pointed to the different multiple i/o requests merging section and be operated, and can not merge I/o request individually with merge after i/o ask to be aggregated in same scsi order to be sent to san storage system, thus maximum The completing of degree is distributed in the merging of multiple i/o requests of multiple logical spaces, reduces the queue in the transmission channel of i/o request Take and interaction, and then be obviously improved the access performance of i/o request.
It should be noted that the logical block of above-mentioned io request disclosed in the present embodiment and above-mentioned first embodiment, logic Corresponding concrete numerical value in block address and corresponding physical block, physical block address, and upper table, only for explanation citing.At it In his embodiment, those skilled in the art can carry out other settings according to actual needs, only need to meet patrolling of multiple logical blocks Collect the one-to-one relationship of block address and the physical block address of multiple physical blocks.
Present invention also offers a kind of control system of io request of first embodiment, as shown in figure 3, the present embodiment is based on San storage system 210 shown in Fig. 2 and scsi driving side 220, application 230.Scsi driving side disclosed in the present embodiment 220 include the first receiving unit 221, first processing units 222 and the first transmitting element 223, and san storage system 210 includes Two receiving units 211, second processing unit 212 and the second transmitting element 213.
First receiving unit 221 is used for receiving multiple i/o requests of application 230 formation, and the plurality of i/o asks to be to san Multiple logical blocks in storage system 210 carry out the request of data access.
First processing units 222 are used for being referred to according to multiple i/o request generation inquiries that the first receiving unit 221 receives Order, and control the first transmitting element 223 to send query statement to the second receiving unit 211 of san storage system 210.
Second processing unit 212 is used for obtaining LBA and physical block in san storage system 210 according to query statement The mapping relations of address, and it is single to the first reception of scsi driving side 220 to control the second transmitting element 213 to send mapping relations Unit 221.
First processing units 222 are used for the seriality according to physical block address, will continuously multiple physical block address correspond to I/o request merge.
I/o request after first transmitting element 223 is used for merging first processing units 222 sends to san storage system 210 the second receiving unit 211.Second processing unit 212 completes in san storage system 210 according to the i/o request after merging Data access.
Present invention also offers the control system of the io request of second embodiment, it is carried out on the basis of first embodiment Describe in detail.The present embodiment is with the difference of the control system of above-mentioned first embodiment:
Multiple i/o requests that first receiving unit 221 receives can not directly all merge, and needs first to be arranged Sequence.Specifically, first processing units 222 are additionally operable to choose continuous physical block address in multiple physical block address, and will connect Continuous physical block address corresponding i/o request carries out merging for the first time.Choose discontinuous physical block in physical block address simultaneously Address, and discontinuous physical block address is ranked up, by the physical block address corresponding i/o request after sequence with for the first time I/o request after merging carries out second merging.
Present invention also offers the control system of the io request of 3rd embodiment, its first embodiment shown in Fig. 3 On the basis of be described in detail.The present embodiment is with the difference of the control system of above-mentioned first embodiment:
Multiple i/o requests that first receiving unit 221 receives are located at different predefined merging sections, this merging Section can be pre-defined by first processing units 222.
First processing units 222 are pointed to the same physical block address corresponding i/o merging within section request and are closed And, to form an i/o request.Be pointed to simultaneously same merge section outside physical block address corresponding i/o request do not enter Row merges, to form the 2nd i/o request.Further, first processing units 222 are also by an i/o request and the 2nd i/o request It is polymerized in a scsi order, and control the first transmitting element 223 to send this scsi order to the of san storage system 210 Two receiving units 211 so that second processing unit 212 parse this scsi order, and according to parsing obtain the first i/o request with 2nd i/o request completes to the data access in san storage system 210.
The san storage system 210 of above-mentioned several embodiments of the present invention and scsi driving side 220, corresponding based on above-mentioned The control method of the i/o request of embodiment, therefore can have identical technique effect.And it should be appreciated that disclosed san The division of the describing module of storage system 210 and scsi driving side 220, only a kind of division of logic function is actual when realizing Can have other dividing mode, for example multiple modules can in conjunction with or be desirably integrated in another system, or some are special Levy and can ignore, or do not execute.In addition, module coupling each other or communication connection can be by some interfaces, also may be used To be electrical or other form.
Each functional module above-mentioned as the ingredient of san storage system 210 and scsi driving side 220, can be or Person may not be physical frame, both may be located at a place it is also possible to be distributed on multiple NEs, both can be using hard The form of part is realized, it would however also be possible to employ the form of software function frame is realized.Part therein can be selected according to the actual needs Or whole modules are realizing the purpose of the present invention program.
The present invention also provides a kind of control system of io request of fourth embodiment, its first embodiment shown in Fig. 3 Disclosed in io request control system on the basis of be described in detail.As shown in figure 4, disclosed in the present embodiment Scsi driving side 220 includes the first receptor 321, first processor 322 and the first transmitter 323, and san storage system 210 is wrapped Include the second receptor 311, second processing device 312 and the second transmitter 313.
First receptor 321 is used for receiving multiple i/o requests of application 230 formation, and the plurality of i/o asks to be that san is deposited Multiple logical blocks in storage system 210 carry out the request of data access.
First processor 322 is used for generating query statement according to multiple i/o requests that the first receptor 321 receives, and The first transmitter 323 is controlled to send query statement to the second receptor 311 of san storage system 210.
Second processing device 312 is used for obtaining LBA and physical block ground in san storage system 210 according to query statement The mapping relations of location, and control the second transmitter 313 to send mapping relations to the first receptor 321 of scsi driving side 220.
First processor 322 is used for the seriality according to physical block address, please by corresponding for continuous physical block address i/o Ask and merge.
I/o request after first transmitter 323 is used for merging first processor 322 sends to san storage system 210 Second receptor 311.
Second processing device 312 completes the access to data in san storage system 210 according to the i/o request after merging.
In sum, the LBA that the present invention passes through to obtain in multiple i/o requests is corresponding in san storage system Physical block address, and corresponding for continuous physical block address i/o request is merged such that it is able to complete to be distributed in multiple patrolling Collect the merging of the i/o request in space, reduce the interaction in the transmission channel of i/o request, and be obviously improved the access of i/o request Energy.
The foregoing is only embodiments of the invention, not thereby limit the present invention the scope of the claims, every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (8)

1. the control method of a kind of i/o request, for carrying out data access to san storage system it is characterised in that described control Method includes:
Pre-defined merging section, described merging section is the logical block to the multiple logical spaces in described san storage system Carry out the division in region;
Receive multiple i/o requests, and corresponding physical block address is determined according to the LBA in described i/o request, wherein The plurality of i/o asks to be the request that the logical block to multiple logical spaces carries out data access;
According to the seriality of described physical block address, the plurality of i/o request is merged, wherein, is pointed to same described Merge the request of the described physical block address corresponding i/o within section to merge, to form an i/o request;It is pointed to same Described physical block address corresponding i/o request outside merging section described in does not merge, to form the 2nd i/o request;
I/o request after merging is polymerized to a scsi order, sends to described san storage system.
2. control method according to claim 1 it is characterised in that described according to described i/o request in logical block ground Location determines that the step of corresponding physical block address includes:
Send query statement to described san storage system, and receive LBA and the physics of described san storage system feedback The mapping table of block address;
According to described mapping table, inquiry obtains the corresponding physical block address of LBA in the plurality of i/o request.
3. control method according to claim 2 is it is characterised in that described LBA and described physical block address have There is the block of bytes of formed objects.
4. control method according to claim 1 is it is characterised in that the described seriality according to described physical block address, The step that the plurality of io request is merged includes:
Choose continuous physical block address in the described physical block address that obtains of inquiry, and by described continuous physical block address pair The i/o request answered carries out merging for the first time;
Choose discontinuous physical block address in the described physical block address that inquiry obtains, and to described discontinuous physical block ground The corresponding i/o in location request is ranked up;
I/o request after i/o request after sequence was merged with first time carries out second merging.
5. a kind of scsi driving side is it is characterised in that described scsi driving side includes:
First processing units, merge section for pre-defined, described merging section is to the multiple logics in san storage system The logical block in space carries out the division in region;
First receiving unit, for receiving multiple i/o requests, and receives the logic during san storage system is asked according to described i/o The corresponding physical block address that block address determines, wherein said multiple i/o ask to be to multiple logics in described san storage system The logical block in space carries out the request of data access;
Described first processing units, are additionally operable to the seriality of the described physical block address according to described first receiving unit reception, The plurality of i/o request is merged, is pointed to the same described corresponding i/o of described physical block address merging within section Request merges, to form an i/o request;It is pointed to the same described described physical block address merging outside section to correspond to I/o request do not merge, with formed the 2nd i/o request, and further will merge after i/o request be polymerized to a scsi Order;
First transmitting element, for sending described scsi order to described san storage system.
6. scsi driving side according to claim 5 is it is characterised in that described first processing units are used for according to described the The plurality of i/o request that one receiving unit receives generates query statement, and controls described first transmitting element by described inquiry Instruction sends to described san storage system, and described first receiving unit receives the LBA of described san storage system feedback With the mapping table of physical block address, described first processing units obtain in the plurality of i/o request according to the inquiry of described mapping table The corresponding physical block address of LBA.
7. scsi driving side according to claim 6 is it is characterised in that described LBA and described physical block address There is identical byte block size.
8. scsi driving side according to claim 5 is it is characterised in that described first processing units are additionally operable to choose inquiry Continuous physical block address in the described physical block address obtaining, and by corresponding for described continuous physical block address i/o request Carry out merging for the first time, and choose discontinuous physical block address in the described physical block address that inquiry obtains, and to described The corresponding i/o request of discontinuous physical block address is ranked up, by the i/o request after sequence with merge for the first time after i/ O request carries out second merging.
CN201310647835.1A 2013-12-04 2013-12-04 SCSI drive side and I/O request control method Active CN103617136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310647835.1A CN103617136B (en) 2013-12-04 2013-12-04 SCSI drive side and I/O request control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310647835.1A CN103617136B (en) 2013-12-04 2013-12-04 SCSI drive side and I/O request control method

Publications (2)

Publication Number Publication Date
CN103617136A CN103617136A (en) 2014-03-05
CN103617136B true CN103617136B (en) 2017-02-01

Family

ID=50167839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310647835.1A Active CN103617136B (en) 2013-12-04 2013-12-04 SCSI drive side and I/O request control method

Country Status (1)

Country Link
CN (1) CN103617136B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106469174B (en) * 2015-08-19 2019-10-29 阿里巴巴集团控股有限公司 Method for reading data and device
CN105282244B (en) * 2015-09-29 2018-10-02 华为技术有限公司 a kind of data processing method, device, server and controller
CN113867650B (en) * 2016-12-23 2024-12-27 北京忆芯科技有限公司 IO command processing method and solid-state storage device
CN109857682B (en) * 2017-11-30 2021-10-01 华为技术有限公司 Data access method, memory and processor
CN110489353A (en) * 2019-07-19 2019-11-22 苏州浪潮智能科技有限公司 A kind of raising solid state hard disk bandwidth reading performance method and device
CN111176566B (en) * 2019-12-25 2023-09-19 山东方寸微电子科技有限公司 eMMC read-write control method supporting queue command and storage medium
CN111190844A (en) * 2019-12-31 2020-05-22 杭州华澜微电子股份有限公司 Protocol conversion method and electronic equipment
CN112380148B (en) * 2020-11-30 2022-10-25 海光信息技术股份有限公司 Data transmission method and data transmission device
CN113485948B (en) * 2021-06-29 2023-11-14 成都忆芯科技有限公司 NVM bad block management method and control part
CN115794700A (en) * 2022-11-28 2023-03-14 无锡众星微系统技术有限公司 Aggregation management disc access method and device
CN118012795A (en) * 2024-01-30 2024-05-10 荟普智能装备(深圳)有限公司 IO communication method, device, equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545030A (en) * 2003-11-14 2004-11-10 清华大学 Method of Dynamic Mapping of Data Distribution Based on Disk Characteristics

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7155569B2 (en) * 2001-02-28 2006-12-26 Lsi Logic Corporation Method for raid striped I/O request generation using a shared scatter gather list
GB0301448D0 (en) * 2003-01-22 2003-02-19 Falanx Microsystems As Microprocessor systems
CN1543092A (en) * 2003-11-07 2004-11-03 清华大学 SCSI command optimization method based on FC-SAN storage device
CN100573437C (en) * 2006-12-28 2009-12-23 华中科技大学 A kind of based on continuation degree cluster and seasonal effect in time series I/O area forecasting method
CN100552613C (en) * 2007-12-26 2009-10-21 杭州华三通信技术有限公司 A kind of scsi data reading/writing method, system and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545030A (en) * 2003-11-14 2004-11-10 清华大学 Method of Dynamic Mapping of Data Distribution Based on Disk Characteristics

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"RAID控制器中I/O调度算法研究";姜国松 等;《小型微型计算机系统》;20080415;第29卷(第4期);参见第1,3.1,3.2节 *

Also Published As

Publication number Publication date
CN103617136A (en) 2014-03-05

Similar Documents

Publication Publication Date Title
CN103617136B (en) SCSI drive side and I/O request control method
CN100578436C (en) Virtual system
KR102556431B1 (en) Solid state drive with heterogeneous nonvolatile memory types
US8307186B2 (en) Computer system performing capacity virtualization based on thin provisioning technology in both storage system and server computer
US9135190B1 (en) Multi-profile memory controller for computing devices
US8402234B2 (en) Storage system and storage migration method
CN102486752B (en) Data pre-fetching in SAS expander
CN103207840B (en) For imperfect record to be degraded to the system and method for the second buffer memory from the first buffer memory
US8250283B1 (en) Write-distribute command for RAID mirroring
US10649667B2 (en) Mitigating GC effect in a RAID configuration
JP7116381B2 (en) Dynamic relocation of data using cloud-based ranks
US10216418B2 (en) Storage apparatus and method for autonomous space compaction
US9182912B2 (en) Method to allow storage cache acceleration when the slow tier is on independent controller
CN104407935B (en) Snapshot rollback method and storage device
CN101615106A (en) The method and system that is used for virtualizing SAS storage adapter
CN103503414A (en) Computing storage integration cluster system
JP2009276969A (en) Storage system and method for managing storage system using management device
CN102123176B (en) Space distribution and management method and device for network storage system
CN102467352A (en) Latency reduction associated with response to request in storage system
CN103218270B (en) There is the computer of multiple solid-state disk
US20150212736A1 (en) Raid set initialization
US9870434B1 (en) Techniques for filtering workload and performance data
CN104272242A (en) Creating encrypted storage volumes
US11347414B2 (en) Using telemetry data from different storage systems to predict response time
US8037276B2 (en) Computer system, storage area allocation method, and management computer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant