projects
/
platform
/
upstream
/
udisks2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32c1521
)
increase wipe size from 16KB to 128KB to erase btrfs signatures
author
David Zeuthen
<davidz@redhat.com>
Sun, 22 Feb 2009 21:54:51 +0000
(16:54 -0500)
committer
David Zeuthen
<davidz@redhat.com>
Sun, 22 Feb 2009 21:54:51 +0000
(16:54 -0500)
src/job-shared.h
patch
|
blob
|
history
diff --git
a/src/job-shared.h
b/src/job-shared.h
index
27e0cba
..
6fad7b8
100644
(file)
--- a/
src/job-shared.h
+++ b/
src/job-shared.h
@@
-105,8
+105,8
@@
_scrub_signatures (int fd, guint64 offset, guint64 size)
ret = FALSE;
- /* wipe first and last 1
6kb. TODO: check 16kb is the right number
*/
- wipe_size = 1
6
* 1024;
+ /* wipe first and last 1
28KB. Note that btrfs keeps signatures at 0x10000 == 64KB.
*/
+ wipe_size = 1
28
* 1024;
g_assert (sizeof (buf) >= wipe_size);
if (wipe_size > size) {