libata-eh.c (6c8ea89cecd780faa4f4c8ed8b3b6ab88f9fa841) | libata-eh.c (97750cebb3000a9cc08f8ce8dc8c7143be7d7201) |
---|---|
1/* 2 * libata-eh.c - libata error handling 3 * 4 * Maintained by: Jeff Garzik <jgarzik@pobox.com> 5 * Please ALWAYS copy linux-ide@vger.kernel.org 6 * on emails. 7 * 8 * Copyright 2006 Tejun Heo <htejun@gmail.com> --- 765 unchanged lines hidden (view full) --- 774 spin_lock_irqsave(ap->lock, flags); 775 } 776 finish_wait(&ap->eh_wait_q, &wait); 777 778 spin_unlock_irqrestore(ap->lock, flags); 779 780 /* make sure SCSI EH is complete */ 781 if (scsi_host_in_recovery(ap->scsi_host)) { | 1/* 2 * libata-eh.c - libata error handling 3 * 4 * Maintained by: Jeff Garzik <jgarzik@pobox.com> 5 * Please ALWAYS copy linux-ide@vger.kernel.org 6 * on emails. 7 * 8 * Copyright 2006 Tejun Heo <htejun@gmail.com> --- 765 unchanged lines hidden (view full) --- 774 spin_lock_irqsave(ap->lock, flags); 775 } 776 finish_wait(&ap->eh_wait_q, &wait); 777 778 spin_unlock_irqrestore(ap->lock, flags); 779 780 /* make sure SCSI EH is complete */ 781 if (scsi_host_in_recovery(ap->scsi_host)) { |
782 msleep(10); | 782 ata_msleep(ap, 10); |
783 goto retry; 784 } 785} 786 787static int ata_eh_nr_in_flight(struct ata_port *ap) 788{ 789 unsigned int tag; 790 int nr = 0; --- 3163 unchanged lines hidden --- | 783 goto retry; 784 } 785} 786 787static int ata_eh_nr_in_flight(struct ata_port *ap) 788{ 789 unsigned int tag; 790 int nr = 0; --- 3163 unchanged lines hidden --- |