From 238008b4bd8f263762c654c42e6176e3629977c1 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 23 Mar 2017 08:47:55 +0100 Subject: state: Drop cache bucket The cache bucket sits between the storage functions and the backend storage. We only read from the storage once, so there is no need to cache anything. The real purpose of the cache bucket is to keep the -EUCLEAN information when a NAND block needs to be rewritten and to keep the read buffers as long as the backend iterates over all buckets trying to find the one we want to use. This can be coded easier and more obvious in the backend code, so drop the cache bucket. Signed-off-by: Sascha Hauer --- common/state/Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'common/state/Makefile') diff --git a/common/state/Makefile b/common/state/Makefile index d3518feab4..fcf9add52c 100644 --- a/common/state/Makefile +++ b/common/state/Makefile @@ -5,4 +5,3 @@ obj-y += backend_format_raw.o obj-y += backend_storage.o obj-y += backend_bucket_direct.o obj-$(CONFIG_MTD) += backend_bucket_circular.o -obj-y += backend_bucket_cached.o -- cgit v1.2.3