Add hash algos as flags on the folder in cluster config

This commit is contained in:
Jakob Borg
2016-01-01 21:47:26 +01:00
parent 0cfbceb428
commit 2eea0f9799
2 changed files with 9 additions and 1 deletions
+9 -1
View File
@@ -337,7 +337,7 @@ folder Flags field contains the following single bit flags:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Reserved |D|P|R|
| Reserved | Hash |D|P|R|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
:Bit 31 ("R", Read Only):
@@ -351,6 +351,14 @@ folder Flags field contains the following single bit flags:
:Bit 29 ("D", Ignore Deletes):
is set for folders that the device will ignore deletes for.
:Bits 25-28 (Hash):
indicates the hash algorithm in use for this folder, as a four bit integer.
The value values are:
- 0: SHA256
- 1: Murmur3-128
- 2-15: Reserved for future usage
The **Options** field contains a list of options that apply to the folder.
Fields (Device Structure)