# US 2012/0259816 A1 · Checkpoints for a file system

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

- Number: US 2012/0259816 A1
- Document ID: US20120259816A1
- Status: Published application
- Kind: A1
- Application number: 13/530,269
- Filed: 2012-06-22
- Published: 2012-10-11
- Earliest claimed: 2010-06-15
- Assignees: Microsoft Corporation
- Inventors: Jonathan M. Cargille; Thomas J. Miller; William R. Tipton
- Web page: https://patentgrep.com/patent/US20120259816A1

## CPC

- G06F 11/1435: {using file system or storage system metadata}
- G06F 11/1461: {Backup scheduling policy}
- G06F 16/00: Information retrieval; Database structures therefor; File system structures therefor
- G06F 16/128: {Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion (error detection or correction of the data by redundancy in operations or in hardware G06F11/14, G06F11/16)}
- G06F 16/1774: {Locking methods, e.g. locking methods for file systems allowing shared and concurrent access to files}
- G06F 16/1865: {Transactional file systems}
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects of the subject matter described herein relate to checkpoints for a file system. In aspects, updates to the file system are organized into checkpoint buckets. When a checkpoint is desired, subsequent updates are directed to another checkpoint bucket. After global tables have been updated for updates in the current checkpoint bucket, a logical copy of the global tables is created. This logical copy is stored as part of the checkpoint data. To assist in recovery, a checkpoint manager may wait until all updates of the current checkpoint bucket have been written to storage before writing final checkpoint data to storage. This final checkpoint data may refer to the logical copy of the global tables and include a validation code to verify that the checkpoint data is correct.

## Claims

### Claim 1

A method comprising:
associating an update to a file system object with a checkpoint;
generating, by a computing device, a write plan for writing the update to a storage device while allowing, in parallel with the generating the write plan, other write plans to be generated for subsequent updates to the file system that occur subsequent to the associating; and
writing, based on the generated write plan and the data being written to the storage device, a checkpoint record to the storage device.

### Claim 2 (depends on 1)

The method of claim 1 further comprising providing, prior to the associating, an indication that the update is to be associated with the checkpoint.

### Claim 3 (depends on 1)

The method of claim 1 further comprising providing an indication that the subsequent updates are to be associated with a subsequent checkpoint.

### Claim 4 (depends on 1)

The method of claim 1 where the write plan indicates a planned location on the storage device for representing the update.

### Claim 5 (depends on 1)

The method of claim 1 further comprising writing the update to the storage device.

### Claim 6 (depends on 1)

The method of claim 1 where the written checkpoint record includes a validation code configured for use in validating the written update.

### Claim 7 (depends on 6)

The method of claim 6 where the validation code is further configured for use in a recovery operation.

### Claim 8

At least one computer storage media storing computer-executable instructions that, when executed by a computing device, cause the computing device to perform method comprising:
associating an update to a file system object with a checkpoint;
generating a write plan for writing the update to a storage device while allowing, in parallel with the generating the write plan, other write plans to be generated for subsequent updates to the file system that occur subsequent to the associating; and
writing, based on the generated write plan and the data being written to the storage device, a checkpoint record to the storage device.

### Claim 9 (depends on 8)

The at least one computer storage media of claim 8, the method further comprising providing, prior to the associating, an indication that the update is to be associated with the checkpoint.

### Claim 10 (depends on 8)

The at least one computer storage media of claim 8, the method further comprising providing an indication that the subsequent updates are to be associated with a subsequent checkpoint.

### Claim 11 (depends on 8)

The at least one computer storage media of claim 8 where the write plan indicates a planned location on the storage device for representing the update.

### Claim 12 (depends on 8)

The at least one computer storage media of claim 8, the method further comprising writing the update to the storage device.

### Claim 13 (depends on 8)

The at least one computer storage media of claim 8 where the written checkpoint record includes a validation code configured for use in validating the written update.

### Claim 14 (depends on 13)

The at least one computer storage media of claim 13 where the validation code is further configured for use in a recovery operation.

### Claim 15

A system comprising:
a computing device configured for associating an update to a file system object with a checkpoint;
the computing device further configured for generating a write plan for writing the update to a storage device while allowing, in parallel with the generating the write plan, other write plans to be generated for subsequent updates to the file system that occur subsequent to the associating; and
the computing device further configured for writing, based on the generated write plan and the data being written to the storage device, a checkpoint record to the storage device.

### Claim 16 (depends on 15)

The system of claim 15, the computing device further configured for providing, prior to the associating, an indication that the update is to be associated with the checkpoint.

### Claim 17 (depends on 15)

The system of claim 15, the computing device further configured for providing an indication that the subsequent updates are to be associated with a subsequent checkpoint.

### Claim 18 (depends on 15)

The system of claim 15 where the write plan indicates a planned location on the storage device for representing the update.

### Claim 19 (depends on 15)

The system of claim 15, the computing device further configured for writing the update to the storage device.

### Claim 20 (depends on 15)

The system of claim 15 where the written checkpoint record includes validation code configured for use in validating the written update, and where the validation code is further configured for use in a recovery operation.
