IP Library › Granted Patent US 11,064,025
Granted Patent B2
US 11,064,025 · App. 15/925,171 · Granted Jul 13, 2021

File replication using file content location identifiers

Inventor: Anand Avati (Mountain View, CA)
Assignee: Red Hat, Inc.
H04L67/1095G06F16/184G06F16/1844G06F16/1865G06F16/1873G06F16/22G06F16/2228G06F16/2272G06F16/2322G06F16/2358H04L67/1097G06F2201/835
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 11,064,025
App. No.
15/925,171
Granted
Jul 13, 2021
Kind
B2
Abstract

Systems and methods for file replication using file content location identifiers. An example method comprises: receiving, by a processing device, an index node number identifying a first index node associated with a file residing on a first file server, the first index node referencing a physical location of contents of the file; identifying a replica of the file residing on a second file server; assigning the index node number of the first index node to a second index node referencing a physical location of contents of the replica of the file on the second file server; performing, by the processing device, a file system operation by accessing the replica of the file referenced by the index node number.

Claims (45)

1. A method, comprising:

receiving, by a processing device, an index node number identifying a first index node associated with a file residing on a first file server, the first index node referencing a physical location of contents of the file;

identifying a replica of the file residing on a second file server;

assigning the index node number of the first index node to a second index node referencing a physical location of contents of the replica of the file on the second file server, thus causing the file residing on the first file server and the replica residing on the second file server to be associated with respective index nodes having a common index node number;

performing, by the processing device, a file system operation by accessing the replica of the file referenced by the index node number.

2. The method of claim 1 , wherein performing the file system operation further comprises:

accessing the replica of the file using a file name alias constructed by appending the index node number of the first index node to an identifier of a defined directory.

3. The method of claim 1 , wherein performing the file system operation further comprises at least one of:

creating the replica of the file on the second file server, copying the contents of the file from the first file server to the second file server, deleting the replica of the file on the second file server, or renaming the replica of the file on the second file server.

4. The method of claim 1 , wherein the file name alias is provided by a hard link.

5. The method of claim 1 , wherein identifying the replica of the file residing on the second file server further comprises:

creating the replica of the file on the second file server; and

assigning a randomly generated identifier to the second index node referencing the physical location of contents of the replica of the file on the second file server.

6. The method of claim 1 , wherein receiving the index node number comprises reading a log record comprising the index node number of the first index node.

7. The method of claim 1 , wherein the first file server belongs to a first storage cluster and the second file server belongs to a second storage cluster.

8. A system, comprising:

a memory; and

a processing device, operatively coupled to the memory, to:

receive an index node number identifying a first index node associated with a file residing on a first file server, the first index node referencing a physical location of contents of the file;

identify a replica of the file residing on a second file server;

assign the index node number of the first index node to a second index node referencing a physical location of contents of the replica of the file on the second file server, thus causing the file residing on the first file server and the replica residing on the second file server to be associated with respective index nodes having a common index node number;

perform a file system operation by accessing the replica of the file referenced by the index node number.

9. The system of claim 8 , wherein performing the file system operation further comprises:

accessing the replica of the file using a file name alias constructed by appending the index node number of the first index node to an identifier of a defined directory.

10. The system of claim 8 , wherein performing the file system operation further comprises at least one of:

creating the replica of the file on the second file server, copying the contents of the file from the first file server to the second file server, deleting the replica of the file on the second file server, or renaming the replica of the file on the second file server.

11. The system of claim 8 , wherein the file name alias is provided by a hard link.

12. The system of claim 8 , wherein identifying the replica of the file residing on the second file server further comprises:

creating the replica of the file on the second file server; and

assigning a randomly generated identifier to the second index node referencing the physical location of contents of the replica of the file on the second file server.

13. The system of claim 8 , wherein receiving the index node number comprises reading a log record comprising the index node number of the first index node.

14. The system of claim 8 , wherein the first file server belongs to a first storage cluster and the second file server belongs to a second storage cluster.

15. A non-transitory computer-readable storage medium comprising executable instructions that, when executed by a processing device, cause the processing device to:

receive an index node number identifying a first index node associated with a file residing on a first file server, the first index node referencing a physical location of contents of the file;

identify a replica of the file residing on a second file server;

assign the index node number of the first index node to a second index node referencing a physical location of contents of the replica of the file on the second file server, thus causing the file residing on the first file server and the replica residing on the second file server to be associated with respective index nodes having a common index node number;

perform a file system operation by accessing the replica of the file referenced by the index node number.

16. The non-transitory computer-readable storage medium of claim 15 , wherein performing the file system operation further comprises at least one of:

creating the replica of the file on the second file server, copying the contents of the file from the first file server to the second file server, deleting the replica of the file on the second file server, or renaming the replica of the file on the second file server.

17. The non-transitory computer-readable storage medium of claim 15 , wherein the file name alias is provided by a hard link.

18. The non-transitory computer-readable storage medium of claim 15 , wherein identifying the replica of the file residing on the second file server further comprises:

creating the replica of the file on the second file server; and

assigning a randomly generated identifier to the second index node referencing the physical location of contents of the replica of the file on the second file server.

19. The non-transitory computer-readable storage medium of claim 15 , wherein receiving the index node number comprises reading a log record comprising the index node number of the first index node.

20. The non-transitory computer-readable storage medium of claim 15 , wherein the first file server belongs to a first storage cluster and the second file server belongs to a second storage cluster.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 19, 2018
From: AVATI, ANAND
To: RED HAT, INC.
Reel/Frame 045276/0640 →
Continuity (2)
Continuation 14219250 · Mar 19, 2014
Related Publication 20180213035A1 · Jul 26, 2018