aboutsummaryrefslogtreecommitdiff
path: root/fs/9p/v9fs.h
diff options
context:
space:
mode:
authorAlexey Korolev <akorolev@infradead.org>2008-07-16 15:28:56 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-25 09:48:42 -0400
commit998453fbf2e0709bf65ac419718ad284401b2b4f (patch)
treea2295f4755e329215a9420916d6a69ce8d9f4444 /fs/9p/v9fs.h
parent55679df30dfa37886cd9e22d8dea0e6974a552df (diff)
[MTD] [NOR] Fix -ETIMEO errors in CFI driver
Existing CFI driver has problems with excessive writes during erase. If CFI driver does many writes during one erase cycle we may face the messages with -ETIMEO error on erase operation. It may cause the following data corruption and kernel panics. The reason of the issue is related to specifics of suspend operation: if we write to flash during erase, suspend operation will cost some time to erase procedure (for P30 it could be significant). In current version of cfi driver the problem of many suspends is partially workarounded by adding some time reserv to any operation (8xerase_time) but if we have many writes during one erase the problem appears. This patch detects the suspend and resets timer if suspend occured. It has been well verified on different chips. No problems were found. Could you please include the patch as it is simple and fixes bad issue. Signed-off-by: Alexey Korolev <akorolev@infradead.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/9p/v9fs.h')
0 files changed, 0 insertions, 0 deletions