On Thu, Nov 05, 2015 at 08:34:04AM +0100, Milan Broz wrote:
> could you please elaborate why is all this needed? To extend support
> of some faulty flash chips?
This makes dm-verity more robust against corruption caused by either
hardware or software bugs, both of which we have seen in the past
On Thu, Nov 05, 2015 at 08:34:04AM +0100, Milan Broz wrote:
> could you please elaborate why is all this needed? To extend support
> of some faulty flash chips?
This makes dm-verity more robust against corruption caused by either
hardware or software bugs, both of which we have seen in the past
Move optional argument parsing into a separate function to make it
easier to add more of them without making verity_ctr even longer.
Signed-off-by: Sami Tolvanen
---
drivers/md/dm-verity.c | 31 ++-
1 file changed, 22 insertions(+), 9 deletions(-)
diff --git
.
Sami Tolvanen (4):
dm verity: clean up duplicate hashing code
dm verity: separate function for parsing opt args
dm verity: add support for forward error correction
dm verity: ignore zero blocks
Documentation/device-mapper/verity.txt | 34 ++
drivers/md/dm-verity.c
Add ignore_zero_blocks option, which returns zeros for blocks matching a
zero hash without validating the content.
Signed-off-by: Sami Tolvanen
---
Documentation/device-mapper/verity.txt | 5 ++
drivers/md/dm-verity.c | 88 ++
2 files changed, 83
Handle dm-verity salting in one place to simplify the code.
Signed-off-by: Sami Tolvanen
---
drivers/md/dm-verity.c | 262 +++--
1 file changed, 147 insertions(+), 115 deletions(-)
diff --git a/drivers/md/dm-verity.c b/drivers/md/dm-verity.c
index
blocks need to corrected.
For a 2 GiB partition, RS(255, 253) (two parity bytes for each
253-byte block) can correct up to 16 MiB of consecutive corrupted
blocks if erasures can be located, and 8 MiB if they cannot, with
16 MiB space overhead.
Signed-off-by: Sami Tolvanen
---
Documentation/device
blocks need to corrected.
For a 2 GiB partition, RS(255, 253) (two parity bytes for each
253-byte block) can correct up to 16 MiB of consecutive corrupted
blocks if erasures can be located, and 8 MiB if they cannot, with
16 MiB space overhead.
Signed-off-by: Sami Tolvanen <samitolva...@google.
Handle dm-verity salting in one place to simplify the code.
Signed-off-by: Sami Tolvanen <samitolva...@google.com>
---
drivers/md/dm-verity.c | 262 +++--
1 file changed, 147 insertions(+), 115 deletions(-)
diff --git a/drivers/md/dm-veri
Add ignore_zero_blocks option, which returns zeros for blocks matching a
zero hash without validating the content.
Signed-off-by: Sami Tolvanen <samitolva...@google.com>
---
Documentation/device-mapper/verity.txt | 5 ++
drivers/md/dm-verity.c
.
Sami Tolvanen (4):
dm verity: clean up duplicate hashing code
dm verity: separate function for parsing opt args
dm verity: add support for forward error correction
dm verity: ignore zero blocks
Documentation/device-mapper/verity.txt | 34 ++
drivers/md/dm-verity.c
Move optional argument parsing into a separate function to make it
easier to add more of them without making verity_ctr even longer.
Signed-off-by: Sami Tolvanen <samitolva...@google.com>
---
drivers/md/dm-verity.c | 31 ++-
1 file changed, 22 insertions
901 - 912 of 912 matches
Mail list logo