LinearTapeFileSystem / LinearTapeFileSystem/ltfs
Stop writing an index at failing to write cache file
Open
@piste-jp is already working on this.
Since Jan 26, 2022.
bug
- Dominant language
- C
- Stars
- 352
- Forks
- 110
- Avg merge
- 2h 50m
- Merged PRs (30d)
- 2
Description
Describe the bug
Current code might stop writing an index and report an error when a write() call for index cache fails in xml_output_tape_write_callback().
Expected behavior
Write entire index to the tape even if cache file write is failed. And report this error after writing an index.
Additional context
May be same thing shall be done in the read side.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.