Searched hist:ece180d1cfe5fa751eaa85bf796cf28b2150af15 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/ata/ |
H A D | libata-eh.c | diff ece180d1cfe5fa751eaa85bf796cf28b2150af15 Mon Nov 03 05:04:37 CST 2008 Tejun Heo <tj@kernel.org> libata: perform port detach in EH
ata_port_detach() first made sure EH saw ATA_PFLAG_UNLOADING and then assumed EH context belongs to it and performed detach operation itself. However, UNLOADING doesn't disable all of EH and this could lead to problems including triggering WARN_ON()'s in EH path.
This patch makes port detach behave more like other EH actions such that ata_port_detach() requests EH to detach and waits for completion.
Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
|
H A D | libata-core.c | diff ece180d1cfe5fa751eaa85bf796cf28b2150af15 Mon Nov 03 05:04:37 CST 2008 Tejun Heo <tj@kernel.org> libata: perform port detach in EH
ata_port_detach() first made sure EH saw ATA_PFLAG_UNLOADING and then assumed EH context belongs to it and performed detach operation itself. However, UNLOADING doesn't disable all of EH and this could lead to problems including triggering WARN_ON()'s in EH path.
This patch makes port detach behave more like other EH actions such that ata_port_detach() requests EH to detach and waits for completion.
Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
|
/openbmc/linux/include/linux/ |
H A D | libata.h | diff ece180d1cfe5fa751eaa85bf796cf28b2150af15 Mon Nov 03 05:04:37 CST 2008 Tejun Heo <tj@kernel.org> libata: perform port detach in EH
ata_port_detach() first made sure EH saw ATA_PFLAG_UNLOADING and then assumed EH context belongs to it and performed detach operation itself. However, UNLOADING doesn't disable all of EH and this could lead to problems including triggering WARN_ON()'s in EH path.
This patch makes port detach behave more like other EH actions such that ata_port_detach() requests EH to detach and waits for completion.
Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
|