Open pdlan opened 11 months ago
This patch has significant portability problems. It appears to assume that certain header files like /usr/include/cpuid.h are always present. If you enable github actions, you'll see that your commit breaks quite a number of builds: https://github.com/tytso/e2fsprogs/actions/runs/8745541253
This PR ports kernel's fast implementation of crc32c to libext2fs. A simple benchmark by using
fio
to measure the write throughput of thefuse2fs
FUSE driver on an ext4 partition (with 1M block size) shows that the throughput increases from 186 MiB/s to 278 MiB/s with my Micron SSD.