summaryrefslogtreecommitdiff
path: root/drivers/md/Kconfig
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2019-01-10 16:07:19 -0800
committerAlistair Strachan <astrachan@google.com>2019-01-14 17:58:18 +0000
commitec8fcb232d839b36399fae3de408488959e22e6d (patch)
tree9b08a07d828ebd29046b4deb78c2c9f487bc7d7c /drivers/md/Kconfig
parentc69bfa0ff38e692d04c562d05107d1020f5e7dc7 (diff)
Revert "ANDROID: dm verity: add minimum prefetch size"
This reverts commit ace74ccf82cfb2b73ce1df2e698d20c2fbc559dd. Bug: 71728490 Change-Id: Iebcb0cd9982f36c4bd2552811f9147325a291db0 Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Diffstat (limited to 'drivers/md/Kconfig')
-rw-r--r--drivers/md/Kconfig16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index 95de7ee56dfc..44b2db61859a 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -459,21 +459,6 @@ config DM_VERITY
If unsure, say N.
-config DM_VERITY_HASH_PREFETCH_MIN_SIZE_128
- bool "Prefetch size 128"
-
-config DM_VERITY_HASH_PREFETCH_MIN_SIZE
- int "Verity hash prefetch minimum size"
- depends on DM_VERITY
- range 1 4096
- default 128 if DM_VERITY_HASH_PREFETCH_MIN_SIZE_128
- default 1
- ---help---
- This sets minimum number of hash blocks to prefetch for dm-verity.
- For devices like eMMC, having larger prefetch size like 128 can improve
- performance with increased memory consumption for keeping more hashes
- in RAM.
-
config DM_VERITY_FEC
bool "Verity forward error correction support"
depends on DM_VERITY
@@ -537,7 +522,6 @@ config DM_ANDROID_VERITY
depends on ASYMMETRIC_KEY_TYPE
depends on ASYMMETRIC_PUBLIC_KEY_SUBTYPE
depends on MD_LINEAR=y
- select DM_VERITY_HASH_PREFETCH_MIN_SIZE_128
---help---
This device-mapper target is virtually a VERITY target. This
target is setup by reading the metadata contents piggybacked