LinearTapeFileSystem / LinearTapeFileSystem/ltfs

Need to improve the recovery logic against trailing invalid index

Open
#305 1 comment 0 reactions 1 assignee View on GitHub

@piste-jp is already working on this.

Since Jan 29, 2022.

enhancement
Dominant language
C
Stars
352
Forks
110
Avg merge
2h 50m
Merged PRs (30d)
2

Description

Currently, LTFS doesn't have a good logic to recover the 2 cases below.

  1. | index | data | (incomplete) index | eod
  2. | index | data | (incomplete) index eod

Case 1 could be generated by the cam backend when LTFS crashes in the middle of writing index. Case 2 could be generated by low level SCSI backends lile the sg backend at the same condition.

See detail in the PR #302.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.