Method and system for attribute encapsulated data resolution and transcoding
First Claim
1. A non-transitory computer readable medium comprising software instructions that, when executed, perform a method for preserving data stored in a file system comprising a plurality of files, comprising:
- determining whether storage capacity of the file system has reached a threshold level, wherein the threshold level is stored in at least one of a plurality of size-reducing policies;
obtaining at least one criterion from the at least one size-reducing policy;
identifying a first file and a second file of the plurality of files that match the at least one criterion;
accessing metadata of each of the first file and the second file, wherein the metadata of the first file is stored as a file system attribute, and the metadata of the second file is stored as an extended attribute, and wherein the metadata of the first and second files comprises at least one option for reducing a size of the first file and a size of the second file, respectively;
performing a first size-reducing action to reduce the size of the first file by calling a kernel-level service to perform the size-reducing action on the first file; and
performing a second size-reducing action to reduce the size of the second file, wherein the second size-reducing action is performed by an external user-land service configured to access the extended file attribute on behalf of the file system.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer readable medium having software instructions that, when executed, perform a method for preserving data stored in a file system with a plurality of files. The method involves determining whether storage capacity of the file system has reached a threshold level, wherein the threshold level is stored in at least one of a plurality of size-reducing policies, obtaining a criterion from the at least one size-reducing policy, identifying a subset of the plurality of files that match the criterion, accessing metadata of each of the identified subset of files, wherein the metadata of each of the identified subset of files comprises at least one option for reducing a size of the file, and performing a size-reducing action to reduce a size of each of the identified subset of files based on the option for reducing the size of each of the identified subset of files and the criterion.
-
Citations
13 Claims
-
1. A non-transitory computer readable medium comprising software instructions that, when executed, perform a method for preserving data stored in a file system comprising a plurality of files, comprising:
-
determining whether storage capacity of the file system has reached a threshold level, wherein the threshold level is stored in at least one of a plurality of size-reducing policies; obtaining at least one criterion from the at least one size-reducing policy; identifying a first file and a second file of the plurality of files that match the at least one criterion; accessing metadata of each of the first file and the second file, wherein the metadata of the first file is stored as a file system attribute, and the metadata of the second file is stored as an extended attribute, and wherein the metadata of the first and second files comprises at least one option for reducing a size of the first file and a size of the second file, respectively; performing a first size-reducing action to reduce the size of the first file by calling a kernel-level service to perform the size-reducing action on the first file; and performing a second size-reducing action to reduce the size of the second file, wherein the second size-reducing action is performed by an external user-land service configured to access the extended file attribute on behalf of the file system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system, comprising:
-
a file system comprising a plurality of files; a storage pool configured to store the plurality of files; a first service configured to; determine whether storage capacity of the file system has reached a threshold level, wherein the threshold level is stored in at least one of a plurality of size-reducing policies; obtain at least one criterion from the at least one size-reducing policy; identify a first file and a second file of the plurality of files that match the at least one criterion; access metadata of the first file, wherein the metadata of the first file is stored as a file system attribute and comprises at least one option for reducing a size of the first file; and perform a first size-reducing action to reduce the size of the first file by wherein the first service is a kernel-level service configured to perform the size-reducing action on the first file; and a second service configured to; access metadata of the second file, wherein the metadata of the second file is stored as an extended file attribute and comprises at least one option for reducing a size of the second file; and perform a second size-reducing action to reduce the size of the second file, wherein the second service is an external user-land service configured to access the extended file attribute on behalf of the file system and perform the second size-reducing action. - View Dependent Claims (11, 12, 13)
-
Specification