-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
erofs: Support the new bloom filter erofs compat feature
This matches: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git/commit/?h=dev&id=fd73a4395d477ae134f319f7368a9f8a6264fd8b We set the COMPAT_XATTR_FILTER flag on the superblock, and we add to each xattr header a 32bit bloom filter which defaults to all bits set, and then we compute a hash for each key modulo 32, and unset that bit in the bloom filter. Older kernels will ignore this, but newer kernels will use it to make xattr lookup more efficient. NOTE: This is a format-breaking change, so we also update the test checksums. We should merge this before freezing the format. Signed-off-by: Alexander Larsson <[email protected]>
- Loading branch information
1 parent
7a94084
commit 2993e34
Showing
6 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ba8b921eb4600eca90457c7b1f6139b59a3a4ca110e0fcd76c3cb8d681dfb60c | ||
d67e775ced030711b36d70d315ddf7150214312fd18b9345f98a5572035a2076 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
e48676802b93e656265343e71c7d63db472994d8253e591ea3757b0e5b37c61f | ||
f93737bda1b19d79c8fe2828615b9dd24e4ec5d97410a1ce6e3716b1a778f00f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3fe5370d0fed684ed3852870422c3a93273c612ef9628099ea225a5b17741ae0 | ||
8c61b21852d6abfdd3a7a3da71a5ccb56fae2ad099bebe7d564fcaa842cb9532 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
e50e762f77d6656f4d48354d3ea127ef091521a6ad00d63fc727c2ad0b2e8174 | ||
a168966c314b0b27c8e25270e6f20838a4736a888e5de97993d15d046c797ba3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
40afd104079a9886ab53c6a9fea2b2e76e24f36add35dd4ccb1b18b85151ae52 | ||
34bade1be8cef44439944f94a0a7d1421e0661660a506ef0c744135c79cc8ef0 |