IP Library Granted Patent US 10,496,612
Granted Patent B2
US 10,496,612 · App. 15/592,179 · Granted Dec 3, 2019

Method for reliable and efficient filesystem metadata conversion

Inventor: Tim LaBerge (St. Paul, MN)
Assignee: QUANTUM CORPORATION
G06F16/185G06F16/116G06F16/211
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,496,612
App. No.
15/592,179
Granted
Dec 3, 2019
Kind
B2
Abstract

A method for converting metadata in a hierarchical configuration within a filesystem from a first format to a second format includes reading metadata that is in the first format within the hierarchical configuration; writing all of the metadata that is in the first format into a flat file; scanning the metadata to compile a list of inode chunks; sorting the list of inode chunks based on the on disk location of the inode chunks; and writing all of the metadata from the flat file back into the hierarchical configuration, the metadata being in the second format. The method can also include increasing the size of each of a first inode and a second inode within a first inode chunk in the filesystem, assigning the first inode to the first inode chunk, and assigning the second inode to a second inode chunk.

Claims (33)

1. A method for converting metadata in a hierarchical configuration within a filesystem from a first format to a second format, the method comprising the steps of:

reading metadata that is in the first format within the hierarchical configuration;

writing all of the metadata that is in the first format into a flat file;

scanning the metadata to compile a list of inode chunks;

sorting the list of inode chunks based on the on disk location of the inode chunks; and

writing all of the metadata from the flat file back into the hierarchical configuration, the metadata being in the second format.

2. The method of claim 1 further comprising the steps of (i) increasing the size of each of a first inode and a second inode within a first inode chunk in the filesystem, (ii) assigning the first inode to the first inode chunk, and (iii) assigning the second inode to a second inode chunk.

3. The method of claim 2 further comprising the step of constructing a global mapping system that relates the physical location of the first inode chunk to the physical location of the second inode chunk.

4. The method of claim 3 wherein the step of increasing includes the first inode having an original first inode number and the second inode having an original second inode number, and further comprising the steps of retaining the original first inode number for the first inode and assigning a new second inode number for the second inode.

5. The method of claim 2 further comprising the steps of writing the first inode chunk and the second inode chunk to the flat file, and writing the first inode chunk and the second inode chunk from the flat file back into the hierarchical configuration.

6. The method of claim 2 wherein the step of increasing includes the step of increasing the size of a plurality of inodes within the first inode chunk, and further comprising the step of assigning each of two or more subsets of the plurality of inodes to one of a plurality of inode chunks, each of the two or more subsets including an approximately equal number of inodes being contained within each subset of the plurality of inodes.

7. A non-transitory storage medium that stores a filesystem, the filesystem including a file and metadata that describes the file, the filesystem converting the metadata from a first format to a second format utilizing the method of claim 1 .

8. A method for converting metadata in a filesystem from a first format to a second format, the method comprising the steps of:

increasing the size of each of a first inode and a second inode within a first inode chunk in the filesystem;

assigning the first inode to the first inode chunk;

assigning the second inode to a second inode chunk; and

constructing a global mapping system that relates the physical location of the first inode chunk to the physical location of the second inode chunk.

9. The method of claim 8 wherein the step of increasing includes the step of increasing the size of a plurality of inodes within the first inode chunk, and further comprising the step of assigning each of two or more subsets of the plurality of inodes to one of a plurality of inode chunks.

10. The method of claim 9 wherein the step of assigning each of two or more subsets includes an approximately equal number of inodes being contained within each subset of the plurality of inodes.

11. The method of claim 9 wherein the step of assigning each of two or more subsets includes an equal number of inodes being contained within each subset of the plurality of inodes.

12. A non-transitory storage medium that stores a filesystem, the filesystem including a file and metadata that describes the file, the filesystem converting the metadata from a first format to a second format utilizing the method of claim 8 .

13. A method for converting metadata in a hierarchical configuration within a filesystem from a first format to a second format, the method comprising the steps of:

storing a plurality of directory extents in a first location within the filesystem, each directory extent identifying a physical location and a length of a contiguous range of directory blocks;

writing the plurality of directory extents from the first location within the filesystem to a second location;

iterating the directory extents by arranging the directory extents so that the contiguous ranges of directory blocks are listed in substantially the same order as the directory extents were listed at the first location within the filesystem; and

writing the arranged directory extent list from the hierarchical configuration into a flat file.

14. The method of claim 13 further comprising the step of writing the arranged directory extent list from the flat file back into the hierarchical configuration.

15. The method of claim 13 further comprising the steps of reading metadata that is in the first format within the hierarchical configuration; writing the metadata into a flat file; and writing the metadata back into the hierarchical configuration, the metadata being in the second format.

16. The method of claim 15 further comprising the steps of scanning the metadata to compile a list of inode chunks, and sorting the list of inode chunks based on the on disk location of the inode chunks.

17. The method of claim 13 further comprising the steps of (i) increasing the size of each of a first inode and a second inode within a first inode chunk in the filesystem, (ii) assigning the first inode to the first inode chunk, and (iii) assigning the second inode to a second inode chunk.

18. The method of claim 17 further comprising the step of constructing a global mapping system that relates the physical location of the first inode chunk to the physical location of the second inode chunk.

19. The method of claim 17 further comprising the steps of writing the first inode chunk and the second inode chunk from the hierarchical configuration to a flat file, and writing the first inode chunk and the second inode chunk from the flat file back into the hierarchical configuration.

20. A non-transitory storage medium that stores a filesystem, the filesystem including a file and metadata that describes the file, the filesystem converting the metadata from a first format to a second format utilizing the method of claim 13 .

Assignments (9)
INTELLECTUAL PROPERTY SECURITY AGREEMENT Recorded Dec 18, 2025
From: QUANTUM CORPORATION
To: U.S. BANK TRUST COMPANY, NATIONAL ASSOCIATION, AS AGENT
Reel/Frame 074024/0084 →
TERMINATION AND RELEASE OF AMENDED AND RESTATED INTELLECTUAL PROPERTY SECURITY AGREEMENT AT REEL/FRAME NO. 48029/0525 Recorded Aug 19, 2025
From: PNC BANK, NATIONAL ASSOCIATION, AS AGENT
To: QUANTUM CORPORATION
Reel/Frame 072542/0594 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 24, 2025
From: BLUE TORCH FINANCE LLC, AS AGENT FOR THE SECURED PARTIES
To: ALTER DOMUS (US) LLC, AS AGENT FOR THE SECURED PARTIES
Reel/Frame 071019/0850 →
SUPPLEMENT TO INTELLECTUAL PROPERTY SECURITY AGREEMENT Recorded Jun 22, 2023
From: QUANTUM CORPORATION; QUANTUM LTO HOLDINGS, LLC
To: BLUE TORCH FINANCE, LLC
Reel/Frame 064069/0563 →
RELEASE OF SECURITY INTEREST Recorded Aug 10, 2021
From: U.S. BANK NATIONAL ASSOCIATION
To: QUANTUM CORPORATION; QUANTUM LTO HOLDINGS, LLC
Reel/Frame 057142/0252 →
SECURITY INTEREST Recorded Jan 8, 2019
From: QUANTUM CORPORATION
To: PNC BANK, NATIONAL ASSOCIATION
Reel/Frame 048029/0525 →
SECURITY INTEREST Recorded Dec 27, 2018
From: QUANTUM CORPORATION, AS GRANTOR; QUANTUM LTO HOLDINGS, LLC, AS GRANTOR
To: U.S. BANK NATIONAL ASSOCIATION, AS AGENT
Reel/Frame 049153/0518 →
RELEASE OF SECURITY INTEREST Recorded Dec 27, 2018
From: TCW ASSET MANAGEMENT COMPANY LLC, AS AGENT
To: QUANTUM CORPORATION
Reel/Frame 047863/0252 →
SECURITY INTEREST Recorded Aug 13, 2018
From: QUANTUM CORPORATION
To: TCW ASSET MANAGEMENT COMPANY LLC, AS AGENT
Reel/Frame 046778/0530 →
Continuity (4)
Continuation 13971368 · Aug 20, 2013
Continuation 13363208 · Jan 31, 2012
Continuation 12497495 · Jul 2, 2009
Related Publication 20170242872A1 · Aug 24, 2017