Add hash algos as flags on the folder in cluster config
This commit is contained in:
+9
-1
@@ -337,7 +337,7 @@ folder Flags field contains the following single bit flags:
|
|||||||
0 1 2 3
|
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
|
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):
|
:Bit 31 ("R", Read Only):
|
||||||
@@ -351,6 +351,14 @@ folder Flags field contains the following single bit flags:
|
|||||||
:Bit 29 ("D", Ignore Deletes):
|
:Bit 29 ("D", Ignore Deletes):
|
||||||
is set for folders that the device will ignore deletes for.
|
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.
|
The **Options** field contains a list of options that apply to the folder.
|
||||||
|
|
||||||
Fields (Device Structure)
|
Fields (Device Structure)
|
||||||
|
|||||||
Reference in New Issue
Block a user