Efficiency of File Synchronization in a Linear Tape File System
First Claim
1. A method, in a data processing system, for improved file synchronization of a magnetic tape, the method comprising:
- determining, by a destination device, whether one or more file checksums exist in an extended file attribute associated with an identified file, wherein the extended file attribute of the identified file in an index associated with the magnetic tape and wherein the index is in a local data structure associated with the destination device;
responsive to one or more file checksums existing in the extended file attribute associated with the identified file, reading, by the destination device, the one or more file checksums out of the extended file attribute without accessing the magnetic tape;
transmitting, by the destination device, the one or more file checksums to a source device;
segmenting, by the source device, the data of the new file into fixed-length blocks that do not overlap one another;
calculating, by the source device, one or more new file checksums for each of the fixed-length blocks; and
transmitting, by the source device, the one or more new file checksums to the destination device.
1 Assignment
0 Petitions
Accused Products
Abstract
A mechanism is provided for improved file synchronization of a magnetic tape. A destination device determines whether one or more file checksums exist in an extended file attribute associated with an identified file. Responsive to one or more file checksums existing in the extended file attribute associated with the identified file, the destination device reads the one or more file checksums out of the extended file attribute without accessing the magnetic tape. The destination device transmits the one or more file checksums to a source device. The source device segments the data of the new file into fixed-length blocks that do not overlap one another. The source device calculates one or more new file checksums for each of the fixed-length blocks. The source device transmits the one or more new file checksums to the destination device.
21 Citations
20 Claims
-
1. A method, in a data processing system, for improved file synchronization of a magnetic tape, the method comprising:
-
determining, by a destination device, whether one or more file checksums exist in an extended file attribute associated with an identified file, wherein the extended file attribute of the identified file in an index associated with the magnetic tape and wherein the index is in a local data structure associated with the destination device; responsive to one or more file checksums existing in the extended file attribute associated with the identified file, reading, by the destination device, the one or more file checksums out of the extended file attribute without accessing the magnetic tape; transmitting, by the destination device, the one or more file checksums to a source device; segmenting, by the source device, the data of the new file into fixed-length blocks that do not overlap one another; calculating, by the source device, one or more new file checksums for each of the fixed-length blocks; and transmitting, by the source device, the one or more new file checksums to the destination device. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to:
-
determine, by a destination device, whether one or more file checksums exist in an extended file attribute associated with an identified file, wherein the extended file attribute of the identified file in an index associated with the magnetic tape and wherein the index is in a local data structure associated with the destination device; responsive to one or more file checksums existing in the extended file attribute associated with the identified file, read, by the destination device, the one or more file checksums out of the extended file attribute without accessing the magnetic tape; transmit, by the destination device, the one or more file checksums to a source device; segment, by the source device, the data of the new file into fixed-length blocks that do not overlap one another; calculate, by the source device, one or more new file checksums for each of the fixed-length blocks; and transmit, by the source device, the one or more new file checksums to the destination device. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. An apparatus comprising:
-
a destination device and a source device, wherein each of the destination device and the source device comprise; a processor; and a memory coupled to the processor, wherein the memories comprises instructions which, when executed by the processors, cause the processors to; determine, by the destination device, whether one or more file checksums exist in an extended file attribute associated with an identified file, wherein the extended file attribute of the identified file in an index associated with the magnetic tape and wherein the index is in a local data structure associated with the destination device; responsive to one or more file checksums existing in the extended file attribute associated with the identified file, read, by the destination device, the one or more file checksums out of the extended file attribute without accessing the magnetic tape; transmit, by the destination device, the one or more file checksums to the source device; segment, by the source device, the data of the new file into fixed-length blocks that do not overlap one another; calculate, by the source device, one or more new file checksums for each of the fixed-length blocks; and transmit, by the source device, the one or more new file checksums to the destination device. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification