Site
Gitweb
Static
projects
/
eros.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67904f6
)
Verify tool: remove failed blocks from both maps
author
Jakob Cornell
<jakob+gpg@jcornell.net>
Wed, 20 Apr 2022 18:13:10 +0000
(13:13 -0500)
committer
Jakob Cornell
<jakob+gpg@jcornell.net>
Wed, 20 Apr 2022 18:13:10 +0000
(13:13 -0500)
disk_jumble/src/disk_jumble/verify.py
patch
|
blob
|
history
diff --git
a/disk_jumble/src/disk_jumble/verify.py
b/disk_jumble/src/disk_jumble/verify.py
index e34494e98cf796e056b3ef99af83d056fc1de795..a76d9180e0f49fc4d30cfa2b68250dc5b4bce84b 100644
(file)
--- a/
disk_jumble/src/disk_jumble/verify.py
+++ b/
disk_jumble/src/disk_jumble/verify.py
@@
-366,7
+366,7
@@
def _do_verify(conn, disk_id: int, target_ranges: List[range], disk_file: io.Buf
)
update diskjumble.disk_maps
set
- verified_map = coalesce(verified_map, int8multirange()) + new_passes,
+ verified_map = coalesce(verified_map, int8multirange()) + new_passes
- new_fails
,
written_map = written_map - new_fails
from new_passes, new_fails
where disk_id = %(disk_id)s