Patent ID: 7739475
Filing Date: 2010-06-15
Classification: G06F

Abstract:
1. A system comprising a disk drive in a Linux operating system for updating dirty data of designated raw device on the disk drive on which one or more operations are performed, the system comprising: a determination module, for determining the format of a command parameter through obtaining a first device number comprising a primary device number and a secondary device number of the designated raw device in a user configuration based on a device route of a command parameter for updating the dirty data of the designated raw device, wherein when the primary and secondary device numbers are obtained, the determination module determines that the format of the command parameter is correct; a transmission module, for transmitting the command parameter to a Kernel of the Linux operating system in a system call manner when the format of the command parameter is correct, converting the primary and secondary device numbers of the command parameter of the designated raw device in the user configuration into a second device number in a kernel configuration; a seeking module, for seeking a data structure of the designated raw device according to the first device number of the command parameter; a search tree module, for getting a fast search tree of the designated raw device through mapping an address of the sought data structure, and finding all dirty data pages of the designated device from the fast search tree; and an update module, for updating all the dirty data pages to the disk drive in a synchronous or asynchronous manner.