JPH0358215A - Disk device capable of controlling plural access - Google Patents

Disk device capable of controlling plural access

Info

Publication number
JPH0358215A
JPH0358215A JP19515789A JP19515789A JPH0358215A JP H0358215 A JPH0358215 A JP H0358215A JP 19515789 A JP19515789 A JP 19515789A JP 19515789 A JP19515789 A JP 19515789A JP H0358215 A JPH0358215 A JP H0358215A
Authority
JP
Japan
Prior art keywords
external storage
storage area
allocated
processing device
allocation
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.)
Pending
Application number
JP19515789A
Other languages
Japanese (ja)
Inventor
Kenji Hori
賢治 堀
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP19515789A priority Critical patent/JPH0358215A/en
Publication of JPH0358215A publication Critical patent/JPH0358215A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the installing space of a device by allocating an external storage area based on a request from an external storage area access means by using an external storage area managing table. CONSTITUTION:Processors (#0) 101 and (#2) 102 make access the external storage area 109, and external storage area access means (#0) 103 and (#1) 104 make access the external storage area 109 based on the request from the processors. Allocation area managing tables 105 and 106 manage the external storage area 109 allocated to respective processor, and also, the external storage area managing table 107 manages the allocation information of the external storage area 109. An external storage area allocation means 108 allocates the external storage area 109 based on the request from the external storage area access means (#0) 103 and (#1) 104 by using the external storage area managing table 107. Thereby, it is possible to reduce the number of disk devices being used in plural processors exclusively, and to reduce the installing space of the device.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ディスク装置に関し、特に、複数の処理装置
から使用可能で、その記憶領域の容量をそれぞれの処理
装置ごとに動的に割り当てることのできるディスク装置
に関する. 従来の技術 従来、処理装置ごとに排他的に使用されるディスク装置
は、それぞれの処理装置ごとに取り付けられ、その容量
は静的に決まっていた。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a disk device, and in particular to a disk device that can be used by a plurality of processing devices and whose storage area capacity can be dynamically allocated to each processing device. Regarding disk devices. 2. Description of the Related Art Conventionally, a disk device used exclusively for each processing device was attached to each processing device, and its capacity was statically determined.

発明が解決しようとする課題 上述した従来の処理装置ごとに排他的に使用されるディ
スク装置は、処理装置ごとに取り付ける必要がある為に
、ディスク装置を設置する為のスペースがそれぞれの処
理装置ごとに必要であった. また、処理装置で使用できるディスク装置の容量は、静
的に決まっていた. 本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記課題
を解決することを可能とした新規なディスク装置を提供
することにある.課題を解決するための手段 上記目的を達或する為に、本発明に係る複数アクセスの
制御を行うことができるディスク装置は、情報を格納す
る外部記憶領域と、処理装置からの要求により前記外部
記憶領域にアクセスする為の処理装置数分の外部記憶領
域アクセス手段と、前記外部記憶領域の割り当て情報を
管理する外部記憶領域管理テーブルと、前記外部記憶領
域管理テーブルを用い前記外部記憶領域アクセス手段か
らの要求により前記外部記憶領域を割り当てる外部記憶
領域割り当て手段とを備えて楕戒される. 実施例 次に、本発明をその好ましい一実施例について図面を参
照して具体的に説明する. 第1図は本発明の二実施例を表すブロック構戒図である
. 第1図を参照するに、処理装置(110)101は外部
記憶領域109に対してアクセスを行う.処理装置(#
1)102は外部記憶領域109に対してアクセスを行
う. 外部記+iWi域アクセス手段(10)103は処理装
置(#OHO1からの要求により外部記憶領域109に
アクセスを行う. 外部記憶領域アクセス手段(#1 )104は処理装置
(Ill)102からの要求により外部記憶領域109
にアクセスを行う. 処理装置#O割り当て領域管理テーブル105は処理装
置<110)Lotに割り当てられている外部記憶領域
109を管理する. 処理装置#1割り当て領域管理テーブル106は処理装
置(#IHO2に割り当てられている外部記憶領域10
9を管理する. 外部記憶領域管理テーブル107は外部記憶領域109
の割り当て情報を管理する. 外部記憶領域割り当て手段108は、外部記憶領域管理
テーブル107を用いて外部記憶領域アクセス手段(S
O)103及び外部記憶領域アクセス手段(11)10
4からの要求により外部記憶領域109を割り当てる.
このとき、外部記憶領域アクセス手段(#0)103と
外部記憶領域アクセス手段(#1)104とに同時に割
り当てを行わないように排他制御を行う. 外部記憶領域109は情報を記憶する.ディスク装置1
10は、外部記憶領域アクセス手段(#O)103と、
外部記憶領域アクセス手段(#1)104と、処理装置
#0割り当て領域管理テーブル105と、処理装置#1
割り当て領域管理テーブル106と、外部記憶領域管理
テーブル107と、外部記憶領域割り当て手段108と
、外部記憶領域109とを有する. 第2図は外部記憶領域109を割り当てる最小単位で区
切った図である. 第2図を参照するに、本実施例では外部記憶領域1から
外部記憶領域8までの8つの単位に区切られているとす
る.外部記憶領域109を区切る最小単位は、異なる外
部記憶領域の単位を異なる処理装置が同時にアクセスで
きる単位とする.例えば、複数のアクセスヘッドを持つ
磁気ディスク装置であれば、それぞれのアクセスヘッド
がアクセスする外部記憶領域を最小単位とすればよい.
本実胞例ではこの最小単位を外部記憶領域単位と呼ぶ. 第3図は外部記憶領域管理テーブル107の一例を示す
図である. 第3図において、割り当て表示の゜O゜はどの処理装置
にその外部記憶領域単位を割り当てていないことを、1
11は割り当て済であることをそれぞれ示す.本実施例
では、外部記憶領域1,2.3が既に割り当てられてい
ることを示している。
Problems to be Solved by the Invention The above-mentioned conventional disk devices used exclusively for each processing device need to be installed in each processing device, so the space for installing the disk devices is limited to each processing device. It was necessary. Furthermore, the capacity of the disk device that could be used by the processing unit was statically determined. The present invention has been made in view of the above-mentioned conventional situation,
Therefore, an object of the present invention is to provide a novel disk device that can solve the above-mentioned problems inherent in the conventional technology. Means for Solving the Problems In order to achieve the above object, a disk device capable of controlling multiple accesses according to the present invention has an external storage area for storing information and External storage area access means for the number of processing units for accessing storage areas, an external storage area management table for managing allocation information of the external storage area, and the external storage area access means using the external storage area management table. and an external storage area allocation means for allocating the external storage area in response to a request from the external storage area. Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings. Figure 1 is a block diagram showing two embodiments of the present invention. Referring to FIG. 1, a processing device (110) 101 accesses an external storage area 109. Processing equipment (#
1) 102 accesses the external storage area 109. The external storage area access means (10) 103 accesses the external storage area 109 in response to a request from the processing device (#OHO1). External storage area 109
access. The processing device #O allocated area management table 105 manages the external storage area 109 allocated to the processing device <110) Lot. The processing device #1 allocated area management table 106 shows the external storage area 10 allocated to the processing device (#IHO2).
Manage 9. External storage area management table 107 is external storage area 109
Manage allocation information. The external storage area allocation means 108 uses the external storage area management table 107 to assign external storage area access means (S
O) 103 and external storage area access means (11) 10
The external storage area 109 is allocated according to the request from 4.
At this time, exclusive control is performed so that the external storage area access means (#0) 103 and the external storage area access means (#1) 104 are not allocated at the same time. External storage area 109 stores information. Disk device 1
10 is an external storage area access means (#O) 103;
External storage area access means (#1) 104, processing device #0 allocated area management table 105, and processing device #1
It has an allocation area management table 106, an external storage area management table 107, an external storage area allocation means 108, and an external storage area 109. FIG. 2 is a diagram in which the external storage area 109 is divided into minimum units of allocation. Referring to FIG. 2, in this embodiment, it is assumed that the storage area is divided into eight units from external storage area 1 to external storage area 8. The minimum unit that separates the external storage area 109 is a unit that allows different processing devices to access different external storage areas at the same time. For example, in the case of a magnetic disk device having multiple access heads, the minimum unit may be the external storage area accessed by each access head.
In this example, this minimum unit is called the external storage area unit. FIG. 3 is a diagram showing an example of the external storage area management table 107. In Figure 3, ゜O゜ in the allocation display indicates that the external storage area unit is not allocated to any processing device.
11 indicates that it has been allocated. This example shows that external storage areas 1, 2, and 3 have already been allocated.

第4図は処理装置#0割り当て領域管理テーブル105
の一例を示す図である. 第4図において、割り当ての有無の表示の゛0゛は処理
装! (#0)101に外部記憶領域109が割り当て
られていないことを、゜l゛は割り当てられていること
をそれぞれ示す。本実施…1では、処理装置(110)
101には外部記憶領域109が全く割り当てられてい
ないことを示している。
FIG. 4 shows the processing device #0 allocated area management table 105.
It is a figure showing an example. In Fig. 4, “0” indicating the presence or absence of allocation is the processing unit! (#0) indicates that the external storage area 109 is not allocated to 101, and ゜l゛ indicates that it is allocated. In this implementation...1, the processing device (110)
101 indicates that no external storage area 109 is allocated.

第5図は処理装置#1割り当て領域管理テーブル106
の一例を示す図である. 第5図を参照するに、割り当ての有無の表示の“0“は
処理装置(#1 )102に外部記憶領域109が割り
当てられていないことを、゜1゜は割り当てられている
ことをそれぞれ示す.本実施例では、処理装置(#1 
)102には外部記憶領域1,2.3が割り当てられて
いることを示す. ここで、処理装?! (#0)101がディスク装置1
10を使用する場合を考える. 処理装置(#OHO1は、ディスク装置110の使用に
先立ち、外部記憶領域アクセス手段(#O)103に対
し外部記憶領域割り当て要求を出す.ここでは外部記憶
領域3単位に相当する容量の割り当て要求が出されたも
のとする. 外部記憶領域アクセス手段(#0)103は、この要求
を受けると、外部記憶領域割り当て手段108に対して
外部記憶領域3単位に相当する容量の割り当て要求を行
う. 外部記憶領域割り当て手段108は、この要求を受ける
と、外部記憶領域管理テーブル107を参照し、割り当
てられていない外部記憶領域単位、即ち割り当て表示が
“0”の外部記憶領域単位を探す.要求された容量分の
外部記憶領域単位が存在すれば、割り当てる外部記憶領
域単位の割り当て表示を゜1゛にし、割り当てられた外
部記憶領域単位名を外部記憶領域アクセス手段(#O)
103に通知する.本実施例では、外部記憶領VA4.
5.6が通知される. このときの外部記憶領域管理テーブル107を第6図に
示す. 要求された容量分の外部記憶領域単位が存在しない場合
には、その旨を外部記憶領域アクセス手段(#O)10
3に通知する. 外部記憶領域アクセス手段(#O)103は、要求した
容量分の外部記憶領域単位が割り当てられ、その外部記
憶領域単位名を通知された場合には、処理装置#0割り
当て領域管理テーブル105の割り当ての有無の表示を
“l“にし、記憶領域が割り当てられた旨を処理装置(
80)101に通知する.このときの処理装置#0割り
当て領域管理テーブル105を第7図に示す. 要求した容量分の外部記憶領域単位が割り当てられなか
った旨の通知を受けた場合にはその旨を処理装置($0
)101に通知する. 処理装置(#0)101は、要求した容量分の外部記憶
領域単位が割り当てられた旨を通知された場合には、割
り当てられた外部記憶単位にアクセスを開始する. 要求した容量分の外部記憶領域単位が割り当てられなか
った旨を通知された場合には、容量を減らして再要求す
る等の再試行を行う. 処理装置で使用している外部記憶領域の容量が足りなく
なった場合にも同様にして再割り当ての要求を行うこと
ができる. 処理装置が3台以上の場合にも、本実施例と同様にして
外部記憶領域を割り当てるディスク装置を作成できるこ
とは明らかである. 発明の効果 以上説明したように、本発明によれば、複数の処理装置
で排他的に使用されるディスク装置の台数を削減し、デ
ィスク装置の設置スペースを削減することができ、また
、その容量を動的に割り当てることができる,
FIG. 5 shows the processing device #1 allocated area management table 106.
It is a figure showing an example. Referring to FIG. 5, "0" in the display indicating the presence or absence of allocation indicates that the external storage area 109 is not allocated to the processing device (#1) 102, and ゜1゜ indicates that it is allocated. .. In this embodiment, the processing device (#1
) 102 indicates that external storage areas 1, 2.3 are allocated. Here, processing equipment? ! (#0) 101 is disk device 1
Consider the case of using 10. Before using the disk device 110, the processing device (#OHO1) issues an external storage area allocation request to the external storage area access means (#O) 103. When the external storage area access means (#0) 103 receives this request, it requests the external storage area allocation means 108 to allocate a capacity equivalent to three units of external storage area. When the storage area allocation means 108 receives this request, it refers to the external storage area management table 107 and searches for an unallocated external storage area unit, that is, an external storage area unit whose allocation display is "0". If an external storage area unit for the capacity exists, the allocation display of the external storage area unit to be allocated is set to ゜1゛, and the name of the allocated external storage area unit is sent to the external storage area access means (#O).
Notify 103. In this embodiment, external storage area VA4.
5.6 will be notified. The external storage area management table 107 at this time is shown in FIG. If the external storage area unit for the requested capacity does not exist, the external storage area access means (#O) 10
Notify 3. When the external storage area unit for the requested capacity is allocated and the external storage area unit name is notified, the external storage area access means (#O) 103 performs the allocation in the processing device #0 allocated area management table 105. The presence/absence display is set to “l”, and the processing device (
80) Notify 101. The processing device #0 allocated area management table 105 at this time is shown in FIG. If you receive a notification that the external storage area unit for the requested capacity has not been allocated, the processing unit ($0
) Notify 101. When the processing device (#0) 101 is notified that an external storage unit of the requested capacity has been allocated, it starts accessing the allocated external storage unit. If you are notified that the external storage unit for the requested capacity has not been allocated, try again by reducing the capacity and re-requesting. If the external storage area used by the processing device runs out of space, you can also request reallocation in the same way. It is clear that even when there are three or more processing devices, a disk device that allocates external storage areas can be created in the same manner as in this embodiment. Effects of the Invention As explained above, according to the present invention, it is possible to reduce the number of disk devices used exclusively by a plurality of processing devices, reduce the installation space of the disk devices, and increase the capacity of the disk devices. can be dynamically allocated,

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例を示すブロック構成図である
. 第2図は外部記憶領域109の本実施例での外部記憶領
域単位に区切った図である. 第3図は外部記憶領域管理テーブル107の本実施例で
の処理装置ク#O)lOlに外部記憶領域を割り当てる
前の図である. 第4図は処理装置#O割り当て領域管理テーブル105
の本実施例での処理装置(#0)101に外部記憶領域
を割り当てる前の図である。 第5図は処理装置#1割り当て領域管理テーブル106
の本実施例での処理装置(#O)101に外部記憶領域
を割り当てる前の図である。 第6図は外部記憶領域管理テーブル107の本実施例で
の処理装置(#0)101に外部記憶領域を割り当てた
後の図である. 第7図は処理装置旬割り当て領域管理テーブル105の
本実施例での処理装置(110)101に外部記憶領域
を割り当てた後の図である.
FIG. 1 is a block diagram showing an embodiment of the present invention. FIG. 2 is a diagram of the external storage area 109 divided into external storage areas in this embodiment. FIG. 3 is a diagram of the external storage area management table 107 in this embodiment before allocating an external storage area to the processing unit. FIG. 4 shows the processing device #O allocated area management table 105.
FIG. 2 is a diagram before an external storage area is allocated to the processing device (#0) 101 in this embodiment. FIG. 5 shows the processing device #1 allocated area management table 106.
FIG. 2 is a diagram before an external storage area is allocated to the processing device (#O) 101 in this embodiment. FIG. 6 is a diagram of the external storage area management table 107 after the external storage area is allocated to the processing device (#0) 101 in this embodiment. FIG. 7 is a diagram of the processing device allocation area management table 105 after the external storage area is allocated to the processing device (110) 101 in this embodiment.

Claims (1)

【特許請求の範囲】 情報を格納する外部記憶領域と、 処理装置からの要求により、前記外部記憶領域にアクセ
スする為の処理装置数分の外部記憶領域アクセス手段と
、 前記外部記憶領域の割り当て情報を管理する外部記憶領
域管理テーブルと、 前記外部記憶領域管理テーブルを用い、前記外部記憶領
域アクセス手段からの要求により前記外部記憶領域を割
り当てる外部記憶領域割り当て手段と、 を有することを特徴とした複数アクセスの制御を行うこ
とができるディスク装置。
[Scope of Claims] An external storage area for storing information; External storage area access means for the number of processing devices for accessing the external storage area according to a request from a processing device; Allocation information for the external storage area. an external storage area management table for managing the external storage area, and external storage area allocation means that uses the external storage area management table to allocate the external storage area according to a request from the external storage area access means. A disk device that can control access.
JP19515789A 1989-07-27 1989-07-27 Disk device capable of controlling plural access Pending JPH0358215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19515789A JPH0358215A (en) 1989-07-27 1989-07-27 Disk device capable of controlling plural access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19515789A JPH0358215A (en) 1989-07-27 1989-07-27 Disk device capable of controlling plural access

Publications (1)

Publication Number Publication Date
JPH0358215A true JPH0358215A (en) 1991-03-13

Family

ID=16336380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19515789A Pending JPH0358215A (en) 1989-07-27 1989-07-27 Disk device capable of controlling plural access

Country Status (1)

Country Link
JP (1) JPH0358215A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007062193A (en) * 2005-08-31 2007-03-15 Toppan Forms Co Ltd Folding information transmission body

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007062193A (en) * 2005-08-31 2007-03-15 Toppan Forms Co Ltd Folding information transmission body

Similar Documents

Publication Publication Date Title
US6851030B2 (en) System and method for dynamically allocating associative resources
US9183035B2 (en) Virtual machine migration with swap pages
US7665090B1 (en) System, method, and computer program product for group scheduling of computer resources
US7167854B2 (en) Database control method
JP2004220608A (en) Dynamic allocation of computer resource based on thread type
JP2001188707A (en) Cache using plural lru
EP1016957A3 (en) Method of managing resources shared by multiple processing units
GB2265734A (en) Free memory cell management system
JP2000187617A (en) Cache memory managing method for disk array system
JP2006196011A (en) Segmentation of cache for offering varying service level
JP2007052812A (en) Data storage drive in automated data storage library
US8543770B2 (en) Assigning memory to on-chip coherence domains
US5450595A (en) Multiple hash tables based on access frequency
US20190384722A1 (en) Quality of service for input/output memory management unit
KR101535792B1 (en) Apparatus for configuring operating system and method thereof
US9088569B2 (en) Managing access to a shared resource using client access credentials
US10664393B2 (en) Storage control apparatus for managing pages of cache and computer-readable storage medium storing program
JPH0358215A (en) Disk device capable of controlling plural access
JP3808058B2 (en) Apparatus for allowing a plurality of hosts to share a set of memory sectors storing compressed data
JPS6184755A (en) Data processing system
CN114518962A (en) Memory management method and device
US10007545B2 (en) Dynamic altering of SRIOV virtual function (VF) resources including DMA windows without bringing down the VF
JP2005070965A (en) Information processing method, system and device
JPH01316833A (en) System for changing constitution of virtual computer system
CN116710886A (en) Page scheduling in thin-equipped split memory