From: Geert Uytterhoeven Date: Wed, 10 Jun 2009 04:39:07 +0000 (+0000) Subject: ps3flash: Cache the last accessed FLASH chunk X-Git-Tag: v2.6.31-rc1~314^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bd57f2e5db408e0dfdb3bf052d58c4e7b18ed3c;p=pandora-kernel.git ps3flash: Cache the last accessed FLASH chunk Add support for caching, to reduce FLASH wear when writing using small blocksizes. As we also don't care anymore about heads and tails in case of partial writes, this greatly simplifies the code for handling writes. Note: We don't bother caching reads smaller than the FLASH chunk size (256 KiB). Signed-off-by: Geert Uytterhoeven Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed