Updated data write method using journal log
AssigneeHitachi, Ltd.
InventorsYoji Nakatani, Koji Sonoda
Life of this patent
Estimating the term…
Abstract
A problem with a journaling file system is that the load on input/output processing executed between a server and a storage system is increased because a journal log is written when the file system is updated and updated data is written when flush processing is executed. In a system according to the present invention, a storage system that has received journal logs from a server uses updated data included in the journal logs to execute flush processing.
Claims23
A computer system comprising:
- a storage system comprising one or more disk drives that store data and a disk controller that controls reading data from, and writing data to, said one or more disk drives;
- and
- a computer comprising a buffer memory that stores data to be stored on said one or more disk drives and a processor, said computer being connected to said storage system,
- wherein said processor receives an access request to be issued to a file stored on said one or more disk drives,
- updates data stored in said buffer memory according to the access request,
- creates first information and sends the first information to said disk controller, said first information including updated data updated in the buffer memory, and
- sends second information to said disk controller, said second information requesting to update data stored in a storage area of said storage system and
- wherein said disk controller
- uses the updated data included in the first information to update data stored on said disk drives
A computer system comprising:
- a storage system comprising one or more disk drives that store data and a disk controller that controls an input/output of data to or from said one or more disk drives;
- and
- a computer comprising a buffer memory that stores data to be stored on said one or more disk drives and a processor, said computer being connected to said storage system, said computer receiving an access request to be issued to a file stored on said one or more disk drives,
- wherein, when data stored in said buffer memory is updated according to an access request issued to a file, said computer sends first information to said disk controller, said first information including updated data stored in the buffer memory and address information on a storage area within said one or more disk drives where the updated data is to be stored, and
- sends a request to read data to said disk controller, said request having address information on a storage area within said one or more disk drive, said data being stored in the storage area and
- wherein said disk controller sends data to said computer, said data being stored in the storage area indicated by the address information of the read request, said data being included in the first information.
A data updating method for updating user data, which is contents of a file, or meta data, which is management information used by a file system, in response to an access request that is received by a computer connected to a storage system and that is issued to a file stored in said storage system, said method comprising the steps of:
- in response to the access request, updating data stored in a buffer memory in which data to be stored in said storage system is temporarily stored and which is owned by said computer;
- sending first information to said storage system, said first information including updated data updated in said buffer memory;
- sending second information to said storage system, said second information requesting to update user data or meta data stored in said storage system;
- and
- updating, by said storage system, user data or meta data stored in said storage system using the updated data included in the first information.
A computer program product for causing a storage system and a computer to update user data, which is contents of a file, or meta data, which is management information used by a file system, in response to an access request that is received by said computer connected to said storage system and that is issued to a file stored in said storage system, said computer program product comprising:
- a computer readable storage medium for storing the codes;
- code that, in response to the access request, updates data stored in a buffer memory in which data to be stored in said storage system is temporarily stored and which is owned by said computer;
- code that sends first information to said storage system, said first information including updated data that is updated data stored in said buffer memory;
- code that issues second information to said storage system, said second information requesting to update user data or meta data stored in said storage system;
- and
- code that updates, in said storage system, user data or meta data stored in said storage system using the updated data included in the first information.
Dependencies are inferred from the claim text.