File system with per-file selectable integrity
First Claim
1. A computer-implemented process performed on a computer with a file system for managing storage of and access by applications, running on the computer, to a plurality of file system objects stored on at least one nonvolatile storage device, the computer comprising a processing system including memory and a processor configured to provide the file system, wherein the plurality of file system objects comprises a first file and a second file, the first file and the second file each comprising one or more bytes of data stored on the nonvolatile storage device, the process comprising:
- the file system storing, for each file system object in the plurality of file system objects, data indicating whether a copy-on-write operation is performed for write operations on the file system object;
the file system receiving, from an application running on the computer, a request to write data to a file system object from among the plurality of file system objects stored on the nonvolatile storage device;
the file system determining from the stored data whether a copy-on-write operation is performed for the requested file system object;
in response to determining that the copy-on-write operation is performed for the requested file system object, the file system writing data to the requested file system object using the copy-on-write operation; and
in response to determining that the copy-on-write operation is not performed for the requested file system object, the file system writing data to the requested file system object without using the copy-on-write operation; and
in response to a request, the file system changing the stored data for the first file indicating whether the copy-on-write operation is performed for write operations for the first file.
0 Assignments
0 Petitions
Accused Products
Abstract
A file system uses data integrity techniques that are a selectable attribute of a file system object. Some file system objects have integrity on for various accesses, while other file system objects do not. Different default settings can be provided for different file system objects. Such a setting for a file system object can be changed to and from having integrity on. Given a file system object with an attribute, the file system provides file system operations for which the data integrity operation used on the file system object depends on this attribute. Such operations include, but are not limited to, operations for changing the attribute, creating file system objects with such attributes, providing and changing default settings for such attributes, and writing data to and reading data from files, which use different data integrity techniques based on this attribute.
-
Citations
18 Claims
-
1. A computer-implemented process performed on a computer with a file system for managing storage of and access by applications, running on the computer, to a plurality of file system objects stored on at least one nonvolatile storage device, the computer comprising a processing system including memory and a processor configured to provide the file system, wherein the plurality of file system objects comprises a first file and a second file, the first file and the second file each comprising one or more bytes of data stored on the nonvolatile storage device, the process comprising:
-
the file system storing, for each file system object in the plurality of file system objects, data indicating whether a copy-on-write operation is performed for write operations on the file system object; the file system receiving, from an application running on the computer, a request to write data to a file system object from among the plurality of file system objects stored on the nonvolatile storage device; the file system determining from the stored data whether a copy-on-write operation is performed for the requested file system object; in response to determining that the copy-on-write operation is performed for the requested file system object, the file system writing data to the requested file system object using the copy-on-write operation; and in response to determining that the copy-on-write operation is not performed for the requested file system object, the file system writing data to the requested file system object without using the copy-on-write operation; and in response to a request, the file system changing the stored data for the first file indicating whether the copy-on-write operation is performed for write operations for the first file. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-implemented process performed on a computer with a file system for managing storage of and access by applications, running on the computer, to a plurality of file system objects stored on at least one nonvolatile storage device, the computer comprising a processing system including memory and a processor configured to provide the file system, wherein at least one file system object of the plurality of file system objects comprises a file comprising a plurality of extents, each extent comprising data stored on the nonvolatile storage device, the process comprising:
-
the file system storing a first integrity setting applied to a first extent of the file and a second integrity setting applied to a second extent of the file; and the file system responding to requests from applications to access file system objects on the nonvolatile storage device, wherein access to the first extent of the file uses integrity based on the first integrity setting, and access to the second extent of the file uses integrity based on the second integrity setting. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
Specification