Zach Brown ed9f4b6a22 scoutfs: calculate and enforce segment csum
We had fields in the segment header for the crc but weren't using it.
This calculates the crc on write and verifies it on read.  The crc
covers the used bytes in the segment as indicated by the total_bytes
field.

Signed-off-by: Zach Brown <zab@versity.com>
2018-08-21 13:28:36 -07:00
Description
No description provided
8 MiB
Languages
C 87%
Shell 9.3%
Roff 2.5%
TeX 0.8%
Makefile 0.4%