US11640373B2ActiveUtilityA1

Reordering files

59
Assignee: IBMPriority: Dec 10, 2020Filed: Dec 10, 2020Granted: May 2, 2023
Est. expiryDec 10, 2040(~14.4 yrs left)· nominal 20-yr term from priority
G06F 16/13G06F 3/0611G06F 3/0686G06F 3/0685G06F 3/0649G06F 3/0643
59
PatentIndex Score
0
Cited by
27
References
20
Claims

Abstract

A method includes, for files in a storage system requested in sequence by an application, identifying a pre-file and identifying a post-file requested after the pre-file. The method also includes incrementing a pre-read count for the pre-file in file attributes associated with the pre-file and incrementing a post-read count for the post-file in file attributes associated with the post-file. The method includes selecting a position in a save list for each file based on the pre-read and post-read counts and saving the files on tape media according to the relative positions of the files in the save list. A computer program product includes one or more computer readable storage media and program instructions collectively stored on the one or more computer readable storage media. The program instructions includes program instructions to perform foregoing method. A system includes a processor and logic configured to perform the foregoing method.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A method, comprising:
 for files in a storage system requested in sequence by an application:
 identifying a pre-file; 
 identifying a post-file requested after the pre-file; 
 incrementing a pre-read count for the pre-file in file attributes associated with the pre-file; 
 incrementing a post-read count for the post-file in file attributes associated with the post-file; and 
 
 selecting a position in a save list for each file based on the pre-read and post-read counts; and 
 saving the files on tape media according to the relative positions of the files in the save list. 
 
     
     
       2. The method of  claim 1 , wherein the storage system is configured to use relatively faster storage for primary storage, wherein the storage system is configured to use relatively slower storage for secondary storage. 
     
     
       3. The method of  claim 2 , wherein the files on the save list are initially stored on the relatively faster storage, wherein the relatively faster storage includes storage drives selected from the group consisting of: Flash storage, HDD, and SSD. 
     
     
       4. The method of  claim 2 , comprising migrating the files on the save list to the relatively slower storage after a first predetermined period of time, wherein the relatively slower storage includes the tape media. 
     
     
       5. The method of  claim 1 , wherein the post-file includes a file ID and a date and time associated with the post-file. 
     
     
       6. The method of  claim 1 , wherein the pre-file includes a file ID and a date and time associated with the pre-file. 
     
     
       7. The method of  claim 1 , comprising excluding post-files from the save list after a second predetermined period of time following an access to at least one of the files. 
     
     
       8. The method of  claim 1 , wherein selecting the position includes ranking the pre-files based at least in part on pre-read count values associated with the pre-files, wherein selecting the position includes ranking the post-files based at least in part on post-read count values associated with the post-files. 
     
     
       9. A computer program product, the computer program product comprising:
 one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions comprising: 
 for files in a storage system requested in sequence by an application:
 program instructions to identify a pre-file; 
 program instructions to identify a post-file requested after the pre-file; 
 program instructions to increment a pre-read count for the pre-file in file attributes associated with the pre-file; 
 program instructions to increment a post-read count for the post-file in file attributes associated with the post-file; and 
 
 program instructions to select a position in a save list for each file based on the pre-read and post-read counts; and 
 program instructions to save the files on tape media according to the relative positions of the files in the save list. 
 
     
     
       10. The computer program product of  claim 9 , wherein the storage system is configured to use relatively faster storage for primary storage, wherein the storage system is configured to use relatively slower storage for secondary storage. 
     
     
       11. The computer program product of  claim 10 , wherein the files on the save list are initially stored on the relatively faster storage, wherein the relatively faster storage includes storage drives selected from the group consisting of: Flash storage, HDD, and SSD. 
     
     
       12. The computer program product of  claim 10 , comprising program instructions to migrate the files on the save list to the relatively slower storage after a first predetermined period of time, wherein the relatively slower storage includes the tape media. 
     
     
       13. The computer program product of  claim 9 , wherein the post-file includes a file ID and a date and time associated with the post-file. 
     
     
       14. The computer program product of  claim 9 , wherein the pre-file includes a file ID and a date and time associated with the pre-file. 
     
     
       15. The computer program product of  claim 9 , wherein selecting the position includes ranking the pre-files based at least in part on pre-read count values associated with the pre-files, wherein selecting the position includes ranking the post-files based at least in part on post-read count values associated with the post-files. 
     
     
       16. A system, comprising:
 a processor; and 
 logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to: 
 for files in a storage system requested in sequence by an application:
 identify, by the processor, a pre-file; 
 identify, by the processor, a post-file requested after the pre-file; 
 increment, by the processor, a pre-read count for the pre-file in file attributes associated with the pre-file; 
 increment, by the processor, a post-read count for the post-file in file attributes associated with the post-file; and 
 
 select, by the processor, a position in a save list for each file based on the pre-read and post-read counts; and 
 cause to be saved, by the processor, the files on tape media using a tape drive according to the relative positions of the files in the save list. 
 
     
     
       17. The system of  claim 16 , wherein the storage system is configured to use relatively faster storage for primary storage, wherein the storage system is configured to use relatively slower storage for secondary storage. 
     
     
       18. The system of  claim 17 , wherein the files on the save list are initially stored on the relatively faster storage, wherein the relatively faster storage includes storage drives selected from the group consisting of: Flash storage, HDD, and SSD. 
     
     
       19. The system of  claim 17 , comprising logic configured to migrate, by the processor, the files on the save list to the relatively slower storage after a first predetermined period of time, wherein the relatively slower storage includes the tape media. 
     
     
       20. The system of  claim 16 , wherein the post-file includes a file ID and a date and time associated with the post-file, wherein the pre-file includes a file ID and a date and time associated with the pre-file.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.