Apparatus and method for fsync system call processing using ordered mode journaling with file unit

US9798761B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9798761-B2
Application numberUS-201514805993-A
CountryUS
Kind codeB2
Filing dateJul 22, 2015
Priority dateJul 24, 2014
Publication dateOct 24, 2017
Grant dateOct 24, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

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.

First claim

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.

Assignees

Inventors

Classifications

  • 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

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9798761B2 cover?
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 …
Who is the assignee on this patent?
Univ Sungkyunkwan Res & Bus
What technology area does this patent fall under?
Primary CPC classification G06F16/2365. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 24 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).