Patent ID: 9727411
Date: 2017-08-08
CPC Classifications: G06F,H03M

Claim:
1. A method for writing a log subsystem of a file system, wherein a data block is written to the log subsystem prior to writing the data block from said log subsystem to the file system, comprising: calculating a first verification code of the data block when the log subsystem performs a first transaction by writing the data block to a disk; writing a submit block at an end of said first transaction, wherein the submit block indicates the end of said first transaction and comprises a spare space; and storing the first verification code of the data block to said spare space in said submit block; wherein said first verification code is for performing error correction, and wherein since said first verification code is stored in said spare space in said submit block, said first verification code requires no additional space for storing and said spare space is fully utilized in said submit block.