From 2171d31fb2b783371bdc31ba54856dea8224de65 Mon Sep 17 00:00:00 2001 From: Abhradeep Chakraborty Date: Tue, 7 Jun 2022 22:22:05 +0530 Subject: [PATCH] bitmap-format.txt: add information for trailing checksum Bitmap file has a trailing checksum at the end of the file. However there is no information in the bitmap-format documentation about it. Add a trailer section to include the trailing checksum info in the `Documentation/technical/bitmap-format.txt` file. Signed-off-by: Abhradeep Chakraborty --- Documentation/technical/bitmap-format.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/technical/bitmap-format.txt b/Documentation/technical/bitmap-format.txt index f22669b5916d93..a43d2fe2bbf765 100644 --- a/Documentation/technical/bitmap-format.txt +++ b/Documentation/technical/bitmap-format.txt @@ -125,6 +125,10 @@ MIDXs, both the bit-cache and rev-cache extensions are required. ** The compressed bitmap itself, see Appendix A. + * TRAILER: + + Index checksum of the above contents. It is a 20-byte SHA1 checksum. + == Appendix A: Serialization format for an EWAH bitmap Ewah bitmaps are serialized in the same protocol as the JAVAEWAH