diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2009-06-10 08:39:07 +0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-15 10:47:27 +0400 |
commit | 6bd57f2e5db408e0dfdb3bf052d58c4e7b18ed3c (patch) | |
tree | 768510bab8b596ff499f796ea8c08077074eb5d6 /drivers/hwmon/w83l785ts.c | |
parent | a4e623fbc9b201930abcf78df6db5e49aa8e00cb (diff) | |
download | linux-6bd57f2e5db408e0dfdb3bf052d58c4e7b18ed3c.tar.xz |
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 <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/hwmon/w83l785ts.c')
0 files changed, 0 insertions, 0 deletions