Moving data from file on storage volume to alternate location to free space
First Claim
1. A method for opening and reading a file stored in a computing device, the computing device having a storage volume managed by a file system, the method comprising:
- receiving in the file system of the computing device, a file open command originated through an application;
generating an error upon recognizing that the file pertaining to the file open command is a ghosted file that does not contain file-related data;
intercepting in a ghosting filter of the computing device, such error and retrieving in response thereto, ghosting information for the ghosted file;
creating a handle from the ghosting information and delivering the handle to the application for use by the application in issuing further commands with reference to the file;
receiving thereafter, in the file system of the computing device, a file read command;
retrieving the file-related data from an alternate location wherein the file-related data has been stored;
reconstituting the file using the ghosting information and the file-related data obtained from the alternate location; and
responding to the file read command by providing the reconstituted file to the file system of the computing device.
2 Assignments
0 Petitions
Accused Products
Abstract
A computing device has a storage volume, a file system managing the storage volume, and a file stored on the storage volume and accessed by such file system. The file system receives an open command for the file from an application, notes that the file has been ghosted in that data of the file has been moved to an alternate location, and returns an error. The returned error is intercepted and the file system is commanded to retrieve ghosting information from the ghosted file. A handle corresponding to the ghosted file is delivered to the application, and a read command for the file is received from the application, including the handle, an offset, and a read length. Reconstituting of the ghosted file is initiated based on the data thereof at the alternate location, and after reconstituting the read command is responded to with the data requested.
-
Citations
20 Claims
-
1. A method for opening and reading a file stored in a computing device, the computing device having a storage volume managed by a file system, the method comprising:
-
receiving in the file system of the computing device, a file open command originated through an application; generating an error upon recognizing that the file pertaining to the file open command is a ghosted file that does not contain file-related data; intercepting in a ghosting filter of the computing device, such error and retrieving in response thereto, ghosting information for the ghosted file; creating a handle from the ghosting information and delivering the handle to the application for use by the application in issuing further commands with reference to the file; receiving thereafter, in the file system of the computing device, a file read command; retrieving the file-related data from an alternate location wherein the file-related data has been stored; reconstituting the file using the ghosting information and the file-related data obtained from the alternate location; and responding to the file read command by providing the reconstituted file to the file system of the computing device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method for opening a file stored in a computing device, followed by a further file-related command, the computing device having a storage volume managed by a file system, the method comprising:
-
receiving in the file system of the computing device, a file open command originated through an application; generating an error upon recognizing that the file pertaining to the file open command is a ghosted file that does not contain file-related data; intercepting in a ghosting filter of the computing device, such error and retrieving in response thereto, ghosting information for the ghosted file; creating a handle from the ghosting information and delivering the handle to the application for use by the application in issuing further commands with reference to the file; receiving thereafter, in the file system of the computing device, the further file-related command; retrieving the file-related data from an alternate location wherein the file-related data has been stored; reconstituting the file using the ghosting information and the file-related data obtained from the alternate location; and responding to the further file-related command by implementing the command upon the reconstituted file in the file system of the computing device. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
Specification