File management in a file system
First Claim
1. A method for writing data, the method comprising the steps of:
- mounting, by one or more computer processors, a memory, wherein the memory includes a data partition and an index partition, and wherein the data partition includes an original data and an original index written directly after the original data, and wherein the index partition includes the original index at the beginning of the index partition, and wherein the index partition is placed vertically above the data partition, and wherein a beginning of the index partition aligns with a beginning of the data partition;
writing, by one or more computer processors, a first data to the data partition of the memory, wherein the first data is written directly after the original data on the data partition and wherein the original index is deleted on the data partition;
responsive to a time interval elapsing, wherein the time interval starts at the writing of the first data, writing, by one or more computer processors, a first index to the data partition of the memory and to the index partition of the memory, wherein the first index on the index partition is written at a closest location, in terms of movement time, to the first index on the data partition; and
responsive to receiving an indication to unmount the memory, moving, by one or more computer processors, the first index on the index partition from the closest location to the first index on the data partition to the beginning of the index partition.
1 Assignment
0 Petitions
Accused Products
Abstract
A memory that includes a data partition and an index partition is mounted. The data partition includes an original data and an original index written directly after the original data. The index partition includes the original index at the beginning of the index partition. The first data is written to a data partition of the memory. The first data is written directly after the at least one data on the data partition and the original index is deleted and invalidated. Responsive to a time interval elapsing, a first index is written to the data partition of the memory directly after the first data. The time interval starts at the writing of the first data. Responsive to the time interval elapsing, the first index is written to the index partition of the memory at the closest location, in terms of movement time, to the first index on the data partition.
-
Citations
17 Claims
-
1. A method for writing data, the method comprising the steps of:
-
mounting, by one or more computer processors, a memory, wherein the memory includes a data partition and an index partition, and wherein the data partition includes an original data and an original index written directly after the original data, and wherein the index partition includes the original index at the beginning of the index partition, and wherein the index partition is placed vertically above the data partition, and wherein a beginning of the index partition aligns with a beginning of the data partition; writing, by one or more computer processors, a first data to the data partition of the memory, wherein the first data is written directly after the original data on the data partition and wherein the original index is deleted on the data partition; responsive to a time interval elapsing, wherein the time interval starts at the writing of the first data, writing, by one or more computer processors, a first index to the data partition of the memory and to the index partition of the memory, wherein the first index on the index partition is written at a closest location, in terms of movement time, to the first index on the data partition; and responsive to receiving an indication to unmount the memory, moving, by one or more computer processors, the first index on the index partition from the closest location to the first index on the data partition to the beginning of the index partition. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product for writing data, the computer program product comprising:
-
one or more computer readable storage media; and program instructions stored on the one or more computer readable storage media, the program instructions comprising; program instructions to mount a memory, wherein the memory includes a data partition and an index partition, and wherein the data partition includes an original data and an original index written directly after the original data, and wherein the index partition includes the original index at the beginning of the index partition, and wherein the index partition is placed vertically above the data partition, and wherein a beginning of the index partition aligns with a beginning of the data partition; program instructions to write a first data to the data partition of the memory, wherein the first data is written directly after the original data on the data partition and wherein the original index is deleted on the data partition; program instructions, responsive to a time interval elapsing, wherein the time interval starts at the writing of the first data, to write a first index to the index partition of the memory, wherein the first index on the index partition is written at a closest location, in terms of movement time, to a first index on the data partition; and responsive to receiving an indication to unmount the memory, move the first index on the index partition from the closest location to the first index on the data partition to the beginning of the index partition. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer system for writing data, the computer system comprising:
-
one or more computer processors; one or more computer readable storage media; and program instructions, stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising; program instructions to mount a memory, wherein the memory includes a data partition and an index partition, and wherein the data partition includes an original data and an original index written directly after the original data, and wherein the index partition includes the original index at the beginning of the index partition, and wherein the index partition is placed vertically above the data partition, and wherein a beginning of the index partition aligns with a beginning of the data partition; program instructions to write a first data to the data partition of the memory, wherein the first data is written directly after the original data on the data partition and wherein the original index is deleted on the data partition; program instructions, responsive to a time interval elapsing, wherein the time interval starts at the writing of the first data, to write a first index on the index partition of the memory, wherein the first index on the index partition is written at a closest location, in terms of movement time, to a first index on the data partition; and responsive to receiving an indication to unmount the memory, move the first index on the index partition from the closest location to the first index on the data partition to the beginning of the index partition. - View Dependent Claims (14, 15, 16, 17)
-
Specification