System and method for filtering write operations to a storage medium containing an operating system image
First Claim
1. A computer-readable medium having computer-executable instructions for performing steps by a write filter in an operating system running in a computing device, the computer having a main storage medium having stored thereon an operating system image, the steps comprising:
- intercepting a write request from the operating system to write data into the main storage medium at a specified location;
writing the data of the write request and data representing the specified location into an auxiliary storage medium, the auxiliary storage medium being non-volatile;
receiving a checkpoint request to watermark data stored on the auxiliary storage medium;
creating a checkpoint for watermarking data stored in the auxiliary storage medium as of a time of the checkpoint for preventing the data stored of the time of the checkpoint from being written over.
2 Assignments
0 Petitions
Accused Products
Abstract
A write filter is used to handle write operations by an operating system of a computing device that has a main storage medium in which the operating system image is stored. The write filter is placed in the operating system to intercept write commands for writing state data into the main storage medium and to write the state data onto a non-volatile auxiliary storage medium to prevent the state data from being lost when the device is shut down. The write filter creates checkpoints (or watermarks) for the state data in the non-volatile memory to protect them from being written over and to allow the system to roll back to a previous state. The write filter also enables the operating system image in a writable main storage medium of the computing device to be replaced with a new operating system image while the operating system is still running through by gradually copying the new image into the main storage while moving the old image into a look-aside buffer in the RAM.
-
Citations
19 Claims
-
1. A computer-readable medium having computer-executable instructions for performing steps by a write filter in an operating system running in a computing device, the computer having a main storage medium having stored thereon an operating system image, the steps comprising:
-
intercepting a write request from the operating system to write data into the main storage medium at a specified location;
writing the data of the write request and data representing the specified location into an auxiliary storage medium, the auxiliary storage medium being non-volatile;
receiving a checkpoint request to watermark data stored on the auxiliary storage medium;
creating a checkpoint for watermarking data stored in the auxiliary storage medium as of a time of the checkpoint for preventing the data stored of the time of the checkpoint from being written over. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-readable medium having computer-executable instructions for replacing an old operating system image in a computing device with a new operating system image, the old operating system image residing in a main storage medium of the computing device, the steps comprising:
-
turning on a write filter in an operating system of the computing device;
issuing write requests to progressively copy portions of the new operating system image into a virtual storage device;
receiving, by the write filter, a write request to write new data to a specific location of the virtual storage device;
checking, by the write filter, whether old data at the location in the main storage medium corresponding to the specified location of said each write request has been copied into a look-aside buffer;
if said old data has not been copied, copying said old data into the look-aside buffer; and
writing said new data into the main storage medium. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A method for replacing an old operating system image in a computing device with a new operating system image while the computing device is in operation, the old operating system image residing in a main storage medium of the computing device, comprising the steps of:
-
turning on a write filter component in an operating system of the computing device, the write filter being disposed in the operating system to intercept write requests and being programmed to perform the steps of;
checking, upon receiving a write request to write new data to a virtual storage device at a specified location, whether old data in the main storage medium corresponding to the specified location of said write request has been copied into a look-aside buffer;
copying, if said old data has not been copied, said old data into the look-aside buffer; and
writing said new data into the main storage medium, andissuing write requests to copy portions of the new operating system image into the virtual storage device. - View Dependent Claims (13, 14, 15)
-
-
16. A computer-readable medium having computer-executable instructions for replacing an old software program image in a computing device with a new software program image, the old software program image residing in a main storage medium of the computing device, the steps comprising:
-
turning on a write filter in an operating system of the computing device;
issuing write requests to progressively copy portions of the new software program image into a virtual storage device;
receiving, by the write filter, a write request to write new data to a specific location of the virtual storage device;
checking, by the write filter, whether old data at the location in the main storage medium corresponding to the specified location of said each write request has been copied into a look-aside buffer;
if said old data has not been copied, copying said old data into the look-aside buffer; and
writing said new data into the main storage medium. - View Dependent Claims (17, 18, 19)
-
Specification