Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2619)

Unified Diff: dm-bht.h

Issue 6675058: verity: remove entry_readahead (Closed) Base URL: http://git.chromium.org/git/dm-verity.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dm-bht.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm-bht.h
diff --git a/dm-bht.h b/dm-bht.h
index c75ff91a54e158193914c7b9fdf8cb3030929a74..3106079788e36c6498b6dc0e304a34c9e219b8a0 100644
--- a/dm-bht.h
+++ b/dm-bht.h
@@ -89,9 +89,6 @@ struct dm_bht {
unsigned int depth; /* Depth of the tree including the root */
unsigned int block_count; /* Number of blocks hashed */
char hash_alg[CRYPTO_MAX_ALG_NAME];
- unsigned int entry_readahead; /* number of entries to attempt to
- * pre-read in a level.
- */
/* Computed values */
unsigned int node_count; /* Data size (in hashes) for each entry */
@@ -121,8 +118,6 @@ int dm_bht_destroy(struct dm_bht *bht);
/* Basic accessors for struct dm_bht */
sector_t dm_bht_sectors(const struct dm_bht *bht);
-void dm_bht_set_entry_readahead(struct dm_bht *bht,
- unsigned int readahead_count);
void dm_bht_set_read_cb(struct dm_bht *bht, dm_bht_callback read_cb);
void dm_bht_set_write_cb(struct dm_bht *bht, dm_bht_callback write_cb);
int dm_bht_set_root_hexdigest(struct dm_bht *bht, const u8 *hexdigest);
« no previous file with comments | « no previous file | dm-bht.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698