Method for accelerating random in-out (IO) read-write of disk

The invention discloses a method for accelerating random in-out (IO) read-write of a disk. The method is characterized by comprising the steps that a computer operating system application layer performs a data read-write operation and enters a kernel mode through invagination, a virtual file system...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: MO XIANFENG, MENG XIAOJING, HUANG MINFEI
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a method for accelerating random in-out (IO) read-write of a disk. The method is characterized by comprising the steps that a computer operating system application layer performs a data read-write operation and enters a kernel mode through invagination, a virtual file system layer encapsulates data into a BIO which is an interactive data structure between the virtual file system layer and a general block layer, and then the BIO is submitted to a general block layer subsystem; the BIO is cut into the fixed block size and transmitted to a BINLOGDEV module layer at a DEVICE-MAPPER driving layer of the general block layer subsystem, when the BIO enters the BINLOGDEV module layer, whether a caching condition is met or not is checked, that is, whether the initial position of the BIO is aligned or not, whether the length of the BIO is the block length or not, if the condition is met, a step 103 is conducted, and if the condition is not met, a step 106 is conducted. According to the method for accelerating the random in-out (IO) read-write of the disk, on the condition that the random IO is written, the random IO is converted into the sequence IO, the storing velocity is high, and the efficiency is high.