Method and apparatus of per-block-group journaling for ordered mode journaling file system
US-2015379036-A1 · Dec 31, 2015 · US
US9798761B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9798761-B2 |
| Application number | US-201514805993-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jul 22, 2015 |
| Priority date | Jul 24, 2014 |
| Publication date | Oct 24, 2017 |
| Grant date | Oct 24, 2017 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A computing device supporting ordered mode journaling. The computing device includes a memory that stores a program for operating a file system supporting ordered mode journaling; and a processor that operates the program stored in the memory. Wherein during execution of the program, when ordered mode journaling for a transaction including one or more files is implemented, the processor stores the transaction in a data area of the memory, and implements the journaling by storing a common journal including metadata of the transaction in a journal area of the memory.
Opening claim text (preview).
We claim: 1. A computing device supporting ordered mode journaling, comprising: a memory that stores a program for operating a file system supporting ordered mode journaling; and a processor that operates the program stored in the memory, wherein during execution of the program, when ordered mode journaling for a transaction including one or more files is implemented, the processor stores the transaction in a data area of the memory, and implements the ordered mode journaling by storing a common journal including metadata of the transaction in a journal area of the memory, and when an fsync system call for any one file included in the transaction occurs, the processor stores the file, for which the fsync system call has occurred, in the data area of the memory, and implements the journaling by storing an fsync journal including metadata of the file, for which the fsync system call has occurred, in the journal area of the memory. 2. The computing device of claim 1 , wherein the processor stores the common journal and the fsync journal using an appending manner in the journal area of the memory. 3. The computing device of claim 1 , wherein the fsync journal comprises fsync journal header blocks, the processor records inode information and name information of the file, for which the fsync system call has occurred, in the fsync journal header blocks. 4. The computing device of claim 1 , wherein the processor analyzes a type of a journal finally appended to the journal area in order to restore the file system, if the type of the journal is the common journal, the processor restores the file system by using metadata of the common journal, and if the type of the journal is the fsync journal, the processor restores the file system by using metadata of the fsync journal. 5. The computing device of claim 4 , wherein if the type of the journal is the fsync journal, the processor corrects the metadata recorded in the memory by using the metadata recorded in the fsync journal, after the restoration of the file system. 6. A method for ordered mode journaling of a file system, comprising: implementing ordered mode journaling for a transaction including one or more files; storing the transaction in a data area of a memory; and implementing the ordered mode journaling by storing a common journal including metadata of the transaction in a journal area of the memory, wherein when an fsync system call for any one file included in the transaction occurs, journaling with a unit of the file, for which the fsync system call has occurred, is implemented in response to the fsync system call. 7. The ordered mode journaling method of claim 6 , wherein the journaling with the unit of the file comprises: recording the file, for which the fsync system call has occurred, in a data area of the memory; and implementing the ordered mode journaling by storing an fsync journal including metadata of the file, for which the fsync system call has occurred, in a journal area of the memory. 8. The ordered mode journaling method of claim 7 , wherein the fsync journal comprises fsync journal header blocks, the implementing of the journaling by storing the fsync journal records inode information and name information of the file, for which the fsync system call has occurred, in the fsync journal header blocks. 9. The ordered mode journaling method of claim 7 , wherein the step of implementing the journaling stores the common journal and the fsync journal using an appending manner in the journal area of the memory. 10. A method for restoring a file system based on ordered mode journaling, comprising: identifying a type of a journal finally stored in a journal area of a memory; restoring the file system by using metadata of a common journal if the type of the journal is the common journal; and restoring the file system by using metadata of an fsync journal if the type of the journal is an fsync journal. 11. The method of claim 10 , wherein the step of restoring of the file system by using the metadata of the fsync journal comprises correcting the metadata recorded in the memory by using the metadata recorded in the fsync journal.
Ensuring data consistency and integrity · CPC title
Journaling file systems · CPC title
Transactional file systems · CPC title
Techniques for file synchronisation in file systems · CPC title
Change logging, detection, and notification (replication G06F16/27) · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.