# US 2023/0273903 A1 · Identifying a current journal state by invalidating records based on out of order writes

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

- Number: US 2023/0273903 A1
- Document ID: US20230273903A1
- Status: Published application
- Kind: A1
- Application number: 17/587,333
- Filed: 2022-01-28
- Published: 2023-08-31
- Earliest claimed: 2022-01-28
- Assignees: Dell Products L.P.
- Applicants: Dell Products L.P.
- Inventors: Ron Steinke
- Web page: https://patentgrep.com/patent/US20230273903A1

## CPC

- G06F 16/1815: {Journaling file systems}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F 16/1734: {Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs}
- G06F 16/1824: {implemented using Network-attached Storage [NAS] architecture (distributed or networked storage systems G06F3/067; protocols for distributed storage of data in a network H04L67/1097)}
- G06F 16/1865: {Transactional file systems}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The technologies described herein are generally directed toward identifying a current journal state by determining the most recent valid journal record using valid and null journal records. According to an embodiment, a system can comprise a processor and a memory that can enable performance of operations including identifying a hint journal record of a group of journal records of a journal of a journaled data storage system. The operations can further include, based on an identified null record and the hint journal record, determining a highest sequence journal record comprising a sequence indicator. The operations can further include, based on the sequence indicator, analyzing, by the journaling equipment, other journal records of the group of journal records to confirm that the highest sequence journal record corresponds to a valid journal state.

## Claims

### Claim 1

A method, comprising:
identifying, by journaling equipment comprising a processor, a hint journal record of a group of journal records of a journal of a journaled data storage system;
based on an identified null record and the hint journal record, determining, by the journaling equipment, a highest sequence journal record comprising a sequence indicator; and
based on the sequence indicator, analyzing, by the journaling equipment, other journal records of the group of journal records to confirm that the highest sequence journal record corresponds to a valid journal state.

### Claim 2 (depends on 1)

The method of claim 1, wherein identifying the highest sequence journal record comprises:
validating, by the journaling equipment, the highest sequence journal record; and
estimating, by the journaling equipment, that the highest sequence journal record comprises a highest sequence indicator of the group of journal records.

### Claim 3 (depends on 2)

The method of claim 2, wherein the valid journal state is identified based on:
the highest sequence journal record being valid; and
based on the other journal records, determining, by the journaling equipment, that the highest sequence journal record comprises a highest identified sequence number of the group of journal records.

### Claim 4 (depends on 3)

The method of claim 3, wherein the highest sequence journal record depends from the other journal records, wherein analyzing the other journal records comprises validating the other journal records, and wherein the valid journal state is identified further based on a determination that the other journal records do not comprise any null journal records.

### Claim 5 (depends on 4)

The method of claim 4, wherein analyzing the other journal records employs a binary search of the group of journal records.

### Claim 6 (depends on 2)

The method of claim 2, wherein the valid journal state is identified based on:
the highest sequence journal record being valid; and
identifying, by the journaling equipment, a null journal record of the group of journal records upon which the highest sequence journal record depends, wherein a number of journal records between the highest sequence journal record and the null journal record comprises a null distance value;
based on the highest sequence journal record depending from the null journal record, invalidating, by the journaling equipment, the highest sequence journal record, rendering the highest sequence journal record an additional null journal record; and
based on journal records of the group of journal records with lower sequence values than the null journal record, estimating, by the journaling equipment, that a new valid highest sequence journal record comprises the highest sequence indicator of the group of journal records.

### Claim 7 (depends on 6)

The method of claim 6, further comprising, before estimating that the new valid highest sequence journal record comprises the highest sequence indicator, based on the null distance value, invalidating, by the journaling equipment, the group of journal records for use in determining the valid journal state.

### Claim 8 (depends on 7)

The method of claim 7, wherein invalidating the group of journal records is based on the null distance value being determined to be above a defined threshold amount of journal records.

### Claim 9 (depends on 6)

The method of claim 6, further comprising, before estimating that the new valid highest sequence journal record comprises the highest sequence indicator, determining, by the journaling equipment, that the null distance value is above a defined threshold amount of journal records.

### Claim 10 (depends on 2)

The method of claim 2, wherein validating the highest sequence journal record comprises applying a checksum value to the highest sequence journal record.

### Claim 11 (depends on 2)

The method of claim 2, wherein validating the highest sequence journal record comprises interpreting a file type identifier of the highest sequence journal record.

### Claim 12 (depends on 1)

The method of claim 1, wherein the hint journal record comprises a starter journal record that is valid and comprises a hint sequence indicator.

### Claim 13 (depends on 1)

The method of claim 1, wherein identifying the highest sequence journal record comprises, analyzing the other journal records, identifying that the hint journal record corresponds to the highest sequence journal record.

### Claim 14 (depends on 1)

The method of claim 1, wherein the valid journal state comprises a contiguous block of valid journal records.

### Claim 15 (depends on 1)

The method of claim 1, further comprising, mounting, by the journaling equipment, the journal for journaling based on the valid journal state.

### Claim 16

Transaction equipment, comprising:
a memory that stores computer executable components; and
a processor that executes the computer executable components stored in the memory, wherein the computer executable components comprise:
a journal state receiving component that receives, from journaling equipment, an indication comprising an identified journal record of a group of journal records of a journal of a journaled data storage system, wherein the identified journal record corresponds to a current valid journal state of the journal, and
a transaction component that, based on the identified journal record, maintains a dependence from new journal records of the journal and the identified journal record, wherein the journaling equipment identified the current valid journal state based on identifying a valid journal record of the group of journal records that corresponded to a most recently generated journal record of the group of journal records that did not depend from a null journal record of the group of journal records.

### Claim 17 (depends on 16)

The transaction component of claim 16, wherein the journaling equipment identified the current valid journal state by employing a binary search based on a valid hint journal record of the group of journal records.

### Claim 18

A non-transitory machine-readable medium comprising executable instructions that, when executed by a processor of a first computing device, facilitate performance of operations, the operations comprising:
identifying a hint journal record of a group of journal records of a journal of a journaled data storage system;
based the hint journal record, identifying a most recently generated valid journal record of the group of journal records that does not depend from a null journal record of the group of journal records; and
identifying the most recently generated valid journal record as a current valid journal state of the journal.

### Claim 19 (depends on 18)

The non-transitory machine-readable medium of claim 18, wherein the operations further comprise mounting the journal for journaling based on the current valid journal state.

### Claim 20 (depends on 18)

The non-transitory machine-readable medium of claim 18, wherein identifying the most recently generated valid journal record employs a binary search of the group of journal records based on the hint journal record.
