Legal claims defining the scope of protection, as filed with the USPTO.
1. A storage medium storing program instructions executable to: receive an I/O request for accessing a first file stored on a storage device; in response to the I/O request, mark the first file for possible reorganization; in response to determining that the first file was marked for possible reorganization, determine whether the first file is in need of reorganization by checking the first file for fragmentation; and in response to determining that the first file is in need of reorganization, reorganize the first file, wherein said reorganizing comprises rearranging data blocks of the first file so that the data blocks are stored at contiguous storage locations of the storage device.
2. The storage medium of claim 1 , wherein the I/O request comprises a write request for writing to the first file.
3. The storage medium of claim 1 , wherein the I/O request comprises an allocating write request for allocating and writing new data blocks for the first file.
4. The storage medium of claim 1 , wherein said marking the first file for possible reorganization comprises storing information in a data structure representing the first file.
5. The storage medium of claim 1 , wherein said marking the first file for possible reorganization comprises setting a flag in an inode of the first file.
6. The storage medium of claim 1 , wherein said marking the first file for possible reorganization comprises adding the first file to a list of marked files.
7. A method comprising: a computer system receiving an I/O request for accessing a first file stored on a storage device; in response to the I/O request, the computer system marking the first file for possible reorganization; in response to determining that the first file was marked for possible reorganization, the computer system determining whether the first file is in need of reorganization by checking the first file for fragmentation; and in response to determining that the first file is in need of reorganization, the computer system reorganizing the first file, wherein said reorganizing comprises rearranging data blocks of the first file so that the data blocks are stored at contiguous storage locations of the storage device.
8. The method of claim 7 , wherein the I/O request comprises a write request for writing to the first file.
9. The method of claim 7 , wherein the I/O request comprises an allocating write request for allocating and writing new data blocks for the first file.
10. The method of claim 7 , wherein said marking the first file for possible reorganization comprises storing information in a data structure representing the first file.
11. The method of claim 7 , wherein said marking the first file for possible reorganization comprises setting a flag in an inode of the first file.
12. The method of claim 7 , wherein said marking the first file for possible reorganization comprises adding the first file to a list of marked files.
13. A system comprising: memory storing program instructions; wherein the program instructions are executable by the one or more processors to: receive an I/O request for accessing a first file stored on a storage device; in response to the I/O request, mark the first file for possible reorganization; in response to determining that the first file was marked for possible reorganization, determine whether the first file is in need of reorganization by checking the first file for fragmentation; and in response to determining that the first file is in need of reorganization, reorganize the first file, wherein said reorganizing comprises rearranging data blocks of the first file so that the data blocks are stored at contiguous locations of the storage device.
14. The system of claim 13 , wherein the I/O request comprises a write request for writing to the first file.
15. The system of claim 13 , wherein the I/O request comprises an allocating write request for allocating and writing new data blocks for the first file.
16. The system of claim 13 , wherein said marking the first file for possible reorganization comprises storing information in a data structure representing the first file.
17. The system of claim 13 , wherein said marking the first file for possible reorganization comprises setting a flag in an inode of the first file.
18. The system of claim 13 , wherein said marking the first file for possible reorganization comprises adding the first file to a list of marked files.
19. The storage medium of claim 13 , wherein said checking the first file for fragmentation comprises determining whether the first file is fragmented above a threshold level.
20. The method of claim 7 , wherein said checking the first file for fragmentation comprises determining whether the first file is fragmented above a threshold level.
21. The system of claim 13 , wherein said checking the first file for fragmentation comprises determining whether the first file is fragmented above a threshold level.
Unknown
September 13, 2011
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.