mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-08 09:07:30 +00:00
Specifying the ring blocks with a head and tail index lead to pretty confusing code to figure out how many blocks to read and if we had passed the tail. Instead specify the ring with a starting index and number of blocks. The code to read and write the ring blocks naturally falls out and is a lot more clear. Signed-off-by: Zach Brown <zab@versity.com>