Fast data initialization
First Claim
1. A method comprising:
- receiving a first request to create or extend a file;
allocating a set of allocation units for the file on a primary storage medium without initializing the set of allocation units on the primary storage medium;
associating the set of allocation units with file template metadata comprising at least one pattern;
receiving a second request to access a particular allocation unit, of the set of allocation units;
responsive to the second request, generating at least a portion of the particular allocation unit based on the at least one pattern;
wherein the method is performed by one or more computing devices.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and system for fast file initialization is provided. An initialization request to create or extend a file is received. The initialization request comprises or identifies file template metadata. A set of allocation units are allocated, the set of allocation units comprising at least one allocation unit for the file on a primary storage medium without initializing at least a portion of the file on the primary storage medium. The file template metadata is stored in a cache. The cache resides in at least one of volatile memory and persistent flash storage. A second request is received corresponding to a particular allocation unit of the set of allocation units. Particular file template metadata associated with the particular allocation unit is obtained. In response to the second request, at least a portion of a new allocation unit is generated.
57 Citations
28 Claims
-
1. A method comprising:
-
receiving a first request to create or extend a file; allocating a set of allocation units for the file on a primary storage medium without initializing the set of allocation units on the primary storage medium; associating the set of allocation units with file template metadata comprising at least one pattern; receiving a second request to access a particular allocation unit, of the set of allocation units; responsive to the second request, generating at least a portion of the particular allocation unit based on the at least one pattern; wherein the method is performed by one or more computing devices. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method comprising:
-
receiving an initialization request to create or extend a file, wherein the initialization request comprises or identifies file template metadata that describes at least a portion of a blank file; allocating a set of allocation units comprising at least one allocation unit for the file on a primary storage medium without initializing the set of allocation units on the primary storage medium; associating the file template metadata with the set of allocation units; receiving a second request corresponding to a particular allocation unit of the file belonging to the set of allocation units; in response to the second request, generating at least a portion of the particular allocation unit based on file template metadata associated with the particular allocation unit; wherein the method is performed by one or more computing devices. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors, cause:
-
receiving a first request to create or extend a file; allocating a set of allocation units for the file on a primary storage medium without initializing the set of allocation units on the primary storage medium; associating the set of allocation units with file template metadata comprising at least one pattern; receiving a second request to access a particular allocation unit, of the set of allocation units; responsive to the second request, generating at least a portion of the particular allocation unit based on the at least one pattern. - View Dependent Claims (16, 17, 18, 19, 20)
-
-
21. One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors, cause:
-
receiving an initialization request to create or extend a file, wherein the initialization request comprises or identifies file template metadata that describes at least a portion of a blank file; allocating a set of allocation units comprising at least one allocation unit for the file on a primary storage medium without initializing the set of allocation units on the primary storage medium; associating the file template metadata with the set of allocation units; receiving a second request corresponding to a particular allocation unit of the file belonging to the set of allocation units; in response to the second request, generating at least a portion of the particular allocation unit based on file template metadata associated with the particular allocation unit. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28)
-
Specification