System and method for filtering write operations to a storage medium containing an operating system image
First Claim
1. A computing device comprising:
- a main storage medium having stored therein an operating system image, the operating image including a write filter; and
a non-volatile auxiliary storage medium,the write filter being programmed for performing;
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;
receiving a rollback request;
in response to the rollback request, deleting data in the auxiliary storage medium stored after the checkpoint; and
removing the checkpoint to allow the data stored as of the time of the checkpoint to be written over.
1 Assignment
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
17 Claims
-
1. A computing device comprising:
-
a main storage medium having stored therein an operating system image, the operating image including a write filter; and a non-volatile auxiliary storage medium, the write filter being programmed for performing; 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; receiving a rollback request; in response to the rollback request, deleting data in the auxiliary storage medium stored after the checkpoint; and removing the checkpoint to allow the data stored as of the time of the checkpoint to be written over. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of controlling write operations in a computing device having a main storage medium storing an operating system and an auxiliary storage medium, 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; 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; receiving a rollback request; in response to the rollback request, deleting data in the auxiliary storage medium stored after the checkpoint; and removing the checkpoint to allow the data stored as of the time of the checkpoint to be written over. - View Dependent Claims (7, 8)
-
-
9. A computing device comprising:
-
a main storage medium having an existing operating system image stored therein; and a look-aside buffer, the main storage medium having stored therein a write filter programmed to replace the existing operating system in the main storage medium with a new operating system image by performing; receiving a write request to write new data representing a portion of the new operating system image to a specific location of a 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 (10, 11, 12, 13)
-
-
14. A method of replacing an old software program image in a main storage medium of a computing device with a new software program image, 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 (15, 16, 17)
-
Specification