LinearTapeFileSystem / ltfs

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

Use CRC32C as much as possible on LTO #195

Closed piste-jp closed 4 years ago

piste-jp commented 4 years ago

Summary of changes

This change checks generation of LTO drive and use CRC32C if the drive is LTO-7 or LTO-8. The x86_64 CPU has H/W accelerator for CRC32C. So faster process and lower CPU power can be expected.

Description

Currently LTFS uses Reed-Solomon for logical block protection on LTO drive. But there is no H/W accelerator for Reed-Solomon. So more CPU power is needed than CRC32C when -o scsi_lbprotect=on on LTO drive.

Fixes #194

Type of change

Checklist: