]> git.karo-electronics.de Git - linux-beck.git/commit
[PATCH] libata-eh: implement dev->ering
authorTejun Heo <htejun@gmail.com>
Mon, 15 May 2006 11:58:19 +0000 (20:58 +0900)
committerTejun Heo <htejun@gmail.com>
Mon, 15 May 2006 11:58:19 +0000 (20:58 +0900)
commit0c247c559cd70f85ba9f0764ce13ae00e20fcad8
tree9b0d00b300ad9178438b9c7feba95ed62f540c1a
parent9be1e979f2e1e57a091a658fa88dac266f9fd6fe
[PATCH] libata-eh: implement dev->ering

This patch implements ata_ering and uses it to define dev->ering.

ata_ering is a ring buffer which records libata errors - whether a
command was for normar IO request, err_mask and timestamp.  Errors are
recorded per-device in dev->ering.  This will be used by EH to
determine recovery actions.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/scsi/libata-eh.c
include/linux/libata.h