LinearTapeFileSystem / ltfs

Reference implementation of the LTFS format Spec for stand alone tape drive
BSD 3-Clause "New" or "Revised" License
255 stars 76 forks source link

Introduce the structures for incremental index for format spec 2.5 #454

Closed piste-jp closed 6 months ago

piste-jp commented 6 months ago

Summary of changes

Implement the data structure for incremental index

Description

The incremental index is introduced into LTFS format spec 2.5. But nobody tried to implement it. So I decided to do it.

This PR is the first step to support the incremental index. Just record the changes against filesystem as inc_journal and dump if by ltfs.vendor.IBM.dumpincj VEA.

The inc-journal will be cleared when

  1. ltfs.vendor.IBM.dumpincj is accessed
  2. Full index is generated in any reason

Type of change

Checklist:

piste-jp commented 6 months ago

@juliocelon ,

Could you merge this as soon as possible? I would like to make other changes on this PR in the next week.