IP Library Granted Patent US 10,387,384
Granted Patent B1
US 10,387,384 · App. 14/870,975 · Granted Aug 20, 2019

Method and system for semantic metadata compression in a two-tier storage system using copy-on-write

Inventors: John M. Bent (Los Alamos, NM); Sorin Faibish (Newton, MA); Gary Grider (Los Alamos, NM); Bradley W. Settlemyer (Los Alamos, NM)
Assignees: EMC IP Holding Company LLC; TRIAD National Security, LLC
G06F16/185G06F16/148G06F16/166G06F16/2246
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,387,384
App. No.
14/870,975
Filed
Sep 30, 2015
Granted
Aug 20, 2019
Kind
B1
Art Unit
2162
USPC
707/823
Abstract

Example embodiments of the present invention relate to a method, a system, and a computer program product for managing metadata. The method includes determining a common characteristic of metadata entries for a plurality of files in a directory of a file system and computing a representative metadata entry for the plurality of metadata entries according to the common characteristic of the metadata entries. The plurality of metadata entries in the file system then may be represented according to the computed representative metadata entry.

Claims (58)

1. A computer-implemented method for compressing metadata entries for a plurality of files in a directory for a file system comprising:

determining a common characteristic of metadata entries for a plurality of files in a directory of a file system in a distributed storage system having a distributed metadata store, wherein the distributed storage system has a plurality of tiers having a plurality of dynamically-loadable namespaces, wherein the plurality of files in the directory are represented as a respective plurality of objects, and wherein the metadata entries for the plurality of files in the directory of the file system are file names for the plurality of files in the directory of the file system;

computing a representative metadata entry for the plurality of metadata entries according to the common characteristic of the metadata entries;

representing the plurality of metadata entries in the file system according to the computed representative metadata entry;

replacing values in the metadata entries for the plurality of files in the directory of the file system with a same approximated value;

compressing the metadata entries for the plurality of files in the directory of the file system;

receiving a command to create a modified file name for a modified file in the directory of the file system; and

performing a copy-on-write for the modified file name entry for the modified file in the directory of the file system.

2. The method of claim 1 wherein computing a representative metadata entry for the plurality of metadata entries according to the common characteristic of the metadata entries comprises computing a single metadata entry as a regular expression.

3. The method of claim 2 wherein the metadata entries for the plurality of files in the directory have a sequentially-ordered set of i-node numbers.

4. The method of claim 1 wherein replacing values in the metadata entries further comprises replacing timestamp values in the metadata entries for the plurality of files in the directory of the file system with a same approximated timestamp value.

5. The method of claim 1 wherein the plurality of files in the directory of the file system are stored in a fast tier of storage of a storage system, the method further comprising:

storing the plurality of objects representing the plurality of files in the directory of the file system in a capacity tier of object storage of the storage system.

6. The method of claim 5 further comprising:

allocating a sequential range of i-nodes in the file system in the fast tier of storage of the storage system; and

restoring the plurality of files represented as the plurality of objects in the capacity tier of object storage of the storage system to the file system in the fast tier of storage of the storage system according to the common characteristics of the metadata entries for the plurality of files.

7. The method of claim 6 wherein restoring the plurality of files represented as the plurality of objects in the capacity tier of object storage of the storage system to the file system in the fast tier of storage of the storage system according to the common characteristics of the metadata entries for the plurality of files comprises:

computing the file names for the plurality of files according to the representative metadata entry and the common characteristic of the metadata entries; and

assigning to each i-node in the sequential range of i-nodes an object from the capacity tier of object storage in the storage system according to its respective computed file name.

8. A distributed storage system for compressing metadata entries for a plurality of files in a directory for a file system comprising:

a processor; and

memory storing computer program code that when executed on the processor causes the system to manage metadata by performing the operation of:

determining a common characteristic of metadata entries for a plurality of files in a directory of a file system in the distributed storage system having a distributed metadata store, wherein the distributed storage system has a plurality of tiers having a plurality of dynamically-loadable namespaces, wherein the plurality of files in the directory are represented as a respective plurality of objects, and wherein the metadata entries for the plurality of files in the directory of the file system are file names for the plurality of files in the directory of the file system;

computing a representative metadata entry for the plurality of metadata entries according to the common characteristic of the metadata entries;

representing the plurality of metadata entries in the file system according to the computed representative metadata entry;

replacing values in the metadata entries for the plurality of files in the directory of the file system with a same approximated value;

compressing the metadata entries for the plurality of files in the directory of the file system;

receiving a command to create a modified file name for a modified file in the directory of the file system; and

performing a copy-on-write for the modified file name entry for the modified file in the directory of the file system.

9. The system of claim 8 wherein computing a metadata entry for the plurality of metadata entries according to the common characteristic of the metadata entries comprises computing a single metadata entry as a regular expression.

10. The system of claim 9 wherein the metadata entries for the plurality of files in the directory have a sequentially-ordered set of i-node numbers.

11. The system of claim 8 wherein replacing values in the metadata entries further comprises replacing timestamp values in the metadata entries for the plurality of files in the directory of the file system with a same approximated timestamp value.

12. The system of claim 8 , wherein the plurality of files in the directory of the file system are stored in a fast tier of storage of a storage system, the method further comprising: storing the plurality of objects representing the plurality of files in the directory of the file system in a capacity tier of object storage of the storage system.

13. The system of claim 12 further comprising:

allocating a sequential range of i-nodes in the file system in the fast tier of storage of the storage system; and

restoring the plurality of files represented as the plurality of objects in the capacity tier of object storage of the storage system to the file system in the fast tier of storage of the storage system according to the common characteristics of the metadata entries for the plurality of files.

14. The system of claim 13 wherein restoring the plurality of files represented as the plurality of objects in the capacity tier of object storage of the storage system to the file system in the fast tier of storage of the storage system according to the common characteristics of the metadata entries for the plurality of files comprises:

computing the file names for the plurality of files according to the representative metadata entry and the common characteristic of the metadata entries; and

assigning to each i-node in the sequential range of i-nodes an object from the capacity tier of object storage in the storage system according to its respective computed file name.

15. A computer program product including a non-transitory computer readable storing medium having computer program code encoded thereon that when executed on a processor of a computer causes the computer to compress metadata entries for a plurality of files in a directory for a file system, the computer program code comprising:

computer program code for determining a common characteristic of metadata entries for a plurality of files in a directory of a file system in a distributed storage system having a distributed metadata store, wherein the distributed storage system has a plurality of tiers having a plurality of dynamically-loadable namespaces, wherein the plurality of files in the directory are represented as a respective plurality of objects, and wherein the metadata entries for the plurality of files in the directory of the file system are file names for the plurality of files in the directory of the file system;

computer program code for computing a representative metadata entry for the plurality of metadata entries according to the common characteristic of the metadata entries;

computer program code for representing the plurality of metadata entries in the file system according to the computed representative metadata entry;

computer program code for replacing values in the metadata entries for the plurality of files in the directory of the file system with a same approximated value;

computer program code for compressing the metadata entries for the plurality of files in the directory of the file system;

computer program code for receiving a command to create a modified file name for a modified file in the directory of the file system; and

computer program code for performing a copy-on-write for the modified file name entry for the modified file in the directory of the file system.

16. The computer program product of claim 15 wherein the computer program code for computing a representative metadata entry for the plurality of metadata entries according to the common characteristic of the metadata entries is configured to compute a single metadata entry as a regular expression.

17. The computer program product of claim 16 wherein the metadata entries for the plurality of files in the directory have a sequentially-ordered set of i-node numbers.

18. The computer program product of claim 15 wherein the computer program code for replacing values in the metadata entries is configured to replace timestamp values in the metadata entries for the plurality of files in the directory of the file system with a same approximated timestamp value.

19. The computer program product of claim 15 wherein the plurality of files in the directory of the file system are stored in a fast tier of storage of a storage system, and further comprising:

computer program code for storing the plurality of objects representing the plurality of files in the directory of the file system in a capacity tier of object storage of the storage system.

20. The computer program product of claim 19 further comprising:

computer program code for allocating a sequential range of i-nodes in the file system in the fast tier of the storage of the storage system; and

computer program code for restoring the plurality of files represented as the plurality of objects in the capacity tier of object storage of the storage system to the file system in the fast tier of storage of the storage system according to the common characteristics of the metadata entries for the plurality of files.

21. The computer program product of claim 20 wherein the computer program code for restoring the plurality of files represented as the plurality of objects in the capacity tier of object storage of the storage system to the file system in the fast tier of storage of the storage system according to the common characteristics of the metadata entries for the plurality of files comprises:

computer program code for computing the file names for the plurality of files according to the representative metadata entry and the common characteristic of the metadata entries; and

computer program code for assigning to each i-node in the sequential range of i-nodes an object from the capacity tier of object storage in the storage system according to its respective computed file name.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053546/0001) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC IP HOLDING COMPANY LLC
Reel/Frame 071642/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (051302/0528) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO WYSE TECHNOLOGY L.L.C.); SECUREWORKS CORP.
Reel/Frame 060438/0593 →
RELEASE OF SECURITY INTEREST AT REEL 051449 FRAME 0728 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.; SECUREWORKS CORP.; EMC CORPORATION
Reel/Frame 058002/0010 →
SECURITY AGREEMENT Recorded Apr 22, 2020
From: CREDANT TECHNOLOGIES INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 053546/0001 →
SECURITY AGREEMENT Recorded Dec 31, 2019
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.; SECUREWORKS CORP.; EMC CORPORATION
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 051449/0728 →
PATENT SECURITY AGREEMENT (NOTES) Recorded Dec 16, 2019
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.; SECUREWORKS CORP.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 051302/0528 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 21, 2019
From: GRIDER, GARY; SETTLEMYER, BRADLEY W.
To: TRIAD NATIONAL SECURITY, LLC
Reel/Frame 049551/0046 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 8, 2019
From: BENT, JOHN M.; FAIBISH, SORIN
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 049116/0361 →
SECURITY AGREEMENT Recorded Mar 21, 2019
From: CREDANT TECHNOLOGIES, INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 049452/0223 →
Cited By (3)
US 12,189,575 US 12,411,779 US 12,681,901