Contiguous file allocation in an extensible file system
First Claim
1. A computer-implemented method of writing, by a file system of a computer system, a file to a storage media comprising:
- receiving data associated with the file to be written;
determining an amount of space associated with the file;
reading a bitmap associated with the storage media to identify areas of free space on the media;
identifying from the areas of free space on the storage media contiguous free space equal to or greater than the space associated with the file;
writing the file to the storage media as a contiguous file when an area of contiguous free space on the media greater than or equal to the space associated with the file is identified; and
setting a contiguous file flag in a directory entry associated with the file in a file directory of the storage medium, when the file is written as a contiguous file, without storing information about the contiguously written file in a file allocation table of the storage medium.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a method for creating and reading a contiguous file in an extensible file system. During the creation of a file on the storage media, the file system format check the bitmap to determine if there are areas of free space on the media that would permit the storage of the file in a contiguous manner. By storing the file in a contiguous manner the file may later be read without resorting to the file allocation table, because the file itself would not be fragmented on the storage media. Once an area of free space has been identified, the file is written to the media in a contiguous manner. Further, an associated entry for the file in the directory entry is updated or created to indicate that the file is a contiguous file and also provides basic parameters necessary to read the file without resorting to accessing the file allocation table.
-
Citations
13 Claims
-
1. A computer-implemented method of writing, by a file system of a computer system, a file to a storage media comprising:
-
receiving data associated with the file to be written; determining an amount of space associated with the file; reading a bitmap associated with the storage media to identify areas of free space on the media; identifying from the areas of free space on the storage media contiguous free space equal to or greater than the space associated with the file; writing the file to the storage media as a contiguous file when an area of contiguous free space on the media greater than or equal to the space associated with the file is identified; and setting a contiguous file flag in a directory entry associated with the file in a file directory of the storage medium, when the file is written as a contiguous file, without storing information about the contiguously written file in a file allocation table of the storage medium. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computing device having storage that stores computer-executable instructions and a processor for executing the instructions, the instructions, when executed by the processor, causing the device to perform operations comprising:
-
receiving data associated with a file to be written to a storage media; determining an amount of space associated with the file; reading a bitmap associated with the storage media to identify areas of free space on the media; identifying from the areas of free space on the storage media contiguous free space equal to or greater than the space associated with the file; writing the file to the storage media as a contiguous file when an area of contiguous free space on the media greater than or equal to the space associated with the file is identified; and setting a contiguous file flag in a directory entry associated with the file in a file directory of the storage medium, when the file is written as a contiguous file, without storing information about the contiguously written file in a file allocation table of the storage medium. - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification