Method for the acceleration and simplification of file system logging techniques using storage device snapshots
First Claim
1. A system for implementing a journal of a file system in a computer system which has a system bus, comprising:
- a first memory for storing data representing the files of the file system;
a second memory; and
a first device coupled to the first memory and the second memory;
wherein in the case of an interruption to the file system, the first device is used to rebuild the file system, wherein all updates to the file system are stored by the first device in the second memory, wherein the first device transfers data between the first memory and the second memory without using the system bus.
9 Assignments
0 Petitions
Accused Products
Abstract
This invention presents a method and system to emulate logging or journaling file systems by means of a snapshot mechanism. Use of the snapshot mechanism reduces the number of system bus calls during log or journal updates and recalls in case of file recovery. The snapshot mechanism is implemented in hardware to provide for speedy and reliable data transfers. Overall system performance thereby is improved with an average reduced number of calls to the system memory bus. The present invention offers a cost effective way of retrofitting existing file systems with a journaling or logging capability.
87 Citations
28 Claims
-
1. A system for implementing a journal of a file system in a computer system which has a system bus, comprising:
-
a first memory for storing data representing the files of the file system;
a second memory; and
a first device coupled to the first memory and the second memory;
wherein in the case of an interruption to the file system, the first device is used to rebuild the file system, wherein all updates to the file system are stored by the first device in the second memory, wherein the first device transfers data between the first memory and the second memory without using the system bus. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method of journaling or logging a file system, comprising:
-
resetting or deleting a snapshot after all application-level file system activity completes; and
initiating a transaction in which a snapshot of the current state is created of a file system volume in which the snapshot is made through hardware and in which, during the transaction, the file system operates normally. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A method for journaling or logging a file system of a computer system, wherein software for the file system does not manage any form of sequential journal or log, comprising:
storing changes to the file system in hardware. - View Dependent Claims (21, 22, 23)
-
24. A method of journaling or logging a file system, comprising:
-
transmitting a roll back request from a processing unit to a snapshot mechanism implemented in hardware; and
initiating a transaction in which a snapshot of the current state is created of a file system volume in which, during the transaction, the file system operates normally. - View Dependent Claims (25, 26, 27, 28)
-
Specification