summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/rfd_ftl.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-07-10 16:18:46 +0200
committerJeff Garzik <jeff@garzik.org>2006-07-19 20:06:53 +0200
commit13abf50df209008b5d44075bafeeab42ace56aa6 (patch)
tree5e8ea48d61c7e58560b04d33609a4a2bc6cf0012 /drivers/mtd/rfd_ftl.c
parent[PATCH] libata: fix eh_skip_recovery condition (diff)
downloadlinux-13abf50df209008b5d44075bafeeab42ace56aa6.tar.xz
linux-13abf50df209008b5d44075bafeeab42ace56aa6.zip
[PATCH] libata: improve EH action and EHI flag handling
Update ata_eh_about_to_do() and ata_eh_done() to improve EH action and EHI flag handling. * There are two types of EHI flags - one which expires on successful EH and the other which expires on a successful reset. Make this distinction clear. * Unlike other EH actions, reset actions are represented by two EH action masks and a EHI modifier. Implement correct about_to_do/done semantics for resets. That is, prior to reset, related EH info is sucked in from ehi and cleared, and after reset is complete, related EH info in ehc is cleared. These changes improve consistency and remove unnecessary EH actions caused by stale EH action masks and EHI flags. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/mtd/rfd_ftl.c')
0 files changed, 0 insertions, 0 deletions