# US 2004/0073582 A1 · Updating a file in a fragmented file system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2004/0073582 A1
- Document ID: US20040073582A1
- Status: Published application
- Kind: A1
- Application number: 09/751,545
- Filed: 2000-12-30
- Published: 2004-04-15
- Earliest claimed: 2000-12-30
- Assignees: Intel Corporation
- Inventors: Christopher J. Spiegel
- Web page: https://patentgrep.com/patent/US20040073582A1

## CPC

- G06F 3/0643: {Management of files}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0673: {Single storage device}
- G06F 11/1435: {using file system or storage system metadata}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention provides for reliably updating a file by making a backup copy of the portion of a file that includes changed data. The revised portion of the file is related to the other file portions through cross-linking of units. Upon completely updating the file and linking the data, old data is deleted. Thus, an entire file need not be duplicated for backing up an update. Furthermore, progress of the update may be tracked by marking the backup copy during the update process. The portions of a data object for the file may be mapped by marking a unit as valid if the data contained therein is current and linked if the unit is related to other portions of the file. In addition, other aspects of the present invention relating to the storage system updating a fragmented file are described.

## Claims

### Claim 1

A method of updating a file stored in memory comprising:
copying an original fragment of the file to update to form a new fragment with changed data;
creating a backup copy of an end sequence table having a handle to point to the new fragment; and
deleting either the original fragment or the new fragment.

### Claim 2 (depends on 1)

The method of claim 1, further including marking either the original fragment or the new fragment as linked.

### Claim 3 (depends on 1)

The method of claim 1, further including marking either the original fragment or the new fragment as invalid and the marked fragment is deleted.

### Claim 4 (depends on 1)

The method of claim 1, further including deleting either the original end sequence table or backup copy end sequence table.

### Claim 5 (depends on 1)

The method of claim 1, further including marking the new fragment as a backup copy and the backup copy is deleted.

### Claim 6 (depends on 1)

The method of claim 1, wherein the creating a backup copy end sequence table includes writing the handle into a replacement entry.

### Claim 7 (depends on 6)

The method of claim 6, wherein the writing the handle includes marking a previous handle pointing to the original fragment as invalid and marking the handle pointing to the new fragment as valid.

### Claim 8 (depends on 1)

The method of claim 1, wherein the end sequence table is a member of a chain of other sequence tables, each sequence table having a handle, and the method further includes:
creating a backup copy of each of the other original sequence tables in the chain each back up copy sequence table having a handle to point to the next backup copy sequence table in the chain, and
deleting either the original sequence tables or the backup copy sequence tables in the chain.

### Claim 9 (depends on 8)

The method of claim 8, wherein each sequence table in the chain is hierarchically ranked in a different level.

### Claim 10 (depends on 8)

The method of claim 8, wherein each sequence table in the chain has more than one handle to point to more than one other sequence table.

### Claim 11

A storage system for updating a file, comprising:
a) at least two fragments of a data object of the file and a sequence table having a handle to point to one of the fragments to update, and
b) a data object manager to:
copy an original fragment to form a new fragment with changed data;
create a backup copy of the sequence table with a handle to point to the new fragment; and
delete either the original fragment or new fragment.

### Claim 12 (depends on 11)

The storage system of claim 11, wherein the data object is further to mark either the original fragment or the new fragment as linked.

### Claim 13 (depends on 11)

The storage system of claim 11, wherein the data object is further to mark either the original fragment or the new fragment as invalid and the marked fragment is deleted.

### Claim 14 (depends on 11)

The storage system of claim 11, wherein the data object is further to delete either the original end sequence table or backup copy end sequence table.

### Claim 15 (depends on 11)

The storage system of claim 11, wherein the data object is further to mark the new fragment as a backup copy and the backup copy is deleted.

### Claim 16 (depends on 11)

The storage system of claim 11, wherein the data object creating a backup copy end sequence table includes writing the handle into a replacement entry.

### Claim 17 (depends on 16)

The storage system of claim 16, wherein the writing the handle includes marking a previous handle pointing to the original fragment as invalid and marking the handle pointing to the new fragment as valid.

### Claim 18 (depends on 11)

The storage system of claim 11, wherein the sequence table is a member of a chain with other sequence tables each having a handle and the data object manager is further to:
create a backup copy of the onginal sequence tables in the chain each back up copy sequence table having a handle to point to the next backup copy sequence table in the chain, and
delete either the original sequence tables or the backup copy sequence tables in the chain.

### Claim 19 (depends on 18)

The storage system of claim 18, wherein each sequence table in the chain is hierarchically ranked in a different level.

### Claim 20 (depends on 18)

The storage system of claim 18, wherein each sequence table in the chain has more than one handle to point to more than one other sequence table.

### Claim 21

A computer readable medium having stored therein a plurality of sequences of executable instructions, which, when executed by a processor, cause the system to:
copy an original fragment of the file update to form a new fragment with changed data;
create a backup copy of an end sequence table having a handle to point to the new fragment; and
delete either the original fragment or the new fragment.

### Claim 22 (depends on 21)

The computer readable medium of claim 21, further including additional sequences of executable instructions, which, when executed by the processor further cause the system to mark either the original fragment or the new fragment as linked.

### Claim 23 (depends on 21)

The computer readable medium of claim 21, further including additional sequences of executable instructions, which, when executed by the processor further cause the system to mark either the original fragment or the new fragment as invalid and the marked fragment is deleted.

### Claim 24 (depends on 21)

The computer readable medium of claim 21, further including additional sequences of executable instructions, which, when executed by the processor further cause the system to delete either the original end sequence table or backup copy end sequence table.

### Claim 25 (depends on 21)

The computer readable medium of claim 21, further including additional sequences of executable instructions, which, when executed by the processor further cause the system to mark the new fragment as a backup copy and the backup copy is deleted.

### Claim 26 (depends on 21)

The computer readable medium of claim 21, wherein the creating a backup copy end sequence table includes writing the handle into a replacement entry.

### Claim 27 (depends on 26)

The method of claim 26, wherein the writing the handle includes marking a previous handle pointing to the original fragment as invalid and marking the handle pointing to the new fragment as valid.

### Claim 28 (depends on 21)

The computer readable medium of claim 21, further including additional sequences of executable instructions, which, when executed by the processor cause the system to:
create a backup copy of each of the other original sequence tables in a chain, each back up copy sequence table having a handle to point to the next backup copy sequence table in the chain, and
delete either the original sequence tables or the backup copy sequence tables in the chain.

### Claim 29 (depends on 28)

The computer readable medium of claim 28, wherein each sequence table in the chain is hierarchically ranked in a different level.

### Claim 30 (depends on 28)

The computer readable medium of claim 28, wherein each sequence table in the chain has more than one handle to point to more than one other sequence table.
