From b4c7c802274a40bd1e39362e18de68b08ef4e4a8 Mon Sep 17 00:00:00 2001 From: Catalin Patulea Date: Thu, 27 Sep 2018 21:38:02 +0300 Subject: [PATCH] Reword chunk references, LSB usually means 'bits'. (#364) https://en.wikipedia.org/wiki/Bit_numbering#Least_significant_bit Signed-off-by: Catalin Patulea --- docs/format/chunks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/format/chunks.md b/docs/format/chunks.md index 3faae9b7d..df388675e 100644 --- a/docs/format/chunks.md +++ b/docs/format/chunks.md @@ -2,7 +2,7 @@ The following describes the format of a single chunks file, which is created in the `chunks/` directory of a block. The maximum size per segment file is 512MiB. -Chunks in the files are referenced from the index by the in-file offset in the 4 LSB and the segment sequence number in the higher 4 MSBs. +Chunks in the files are referenced from the index by uint64 composed of in-file offset (lower 4 bytes) and segment sequence number (upper 4 bytes). ``` ┌────────────────────────────────────────┬──────────────────────┐