Re: autosuspend for SCSI devices

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oliver Neukum
Date: Thursday, August 28, 2008 - 2:17 pm

Am Donnerstag 28 August 2008 10:04:27 schrieb Pavel Machek:


I am afraid this is not true.

	Regards
		Oliver
/**
 * scsi_block_when_processing_errors - Prevent cmds from being queued.
 * @sdev:	Device on which we are performing recovery.
 *
 * Description:
 *     We block until the host is out of error recovery, and then check to
 *     see whether the host or the device is offline.
 *
 * Return value:
 *     0 when dev was taken offline by error recovery. 1 OK to proceed.
 */
int scsi_block_when_processing_errors(struct scsi_device *sdev)


/**
 * scsi_restart_operations - restart io operations to the specified host.
 * @shost:	Host we are restarting.
 *
 * Notes:
 *    When we entered the error handler, we blocked all further i/o to
 *    this device.  we need to 'reverse' this process.
 */
static void scsi_restart_operations(struct Scsi_Host *shost)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
autosuspend for SCSI devices, Pavel Machek, (Fri Aug 22, 3:56 am)
Re: autosuspend for SCSI devices, Rafael J. Wysocki, (Fri Aug 22, 1:52 pm)
Re: autosuspend for SCSI devices, Pavel Machek, (Mon Aug 25, 1:19 am)
Re: autosuspend for SCSI devices, Oliver Neukum, (Mon Aug 25, 1:55 am)
Re: autosuspend for SCSI devices, Tino Keitel, (Mon Aug 25, 12:47 pm)
Re: autosuspend for SCSI devices, Pavel Machek, (Tue Aug 26, 2:43 am)
Re: autosuspend for SCSI devices, Pavel Machek, (Tue Aug 26, 2:44 am)
Re: autosuspend for SCSI devices, Oliver Neukum, (Tue Aug 26, 4:01 am)
Re: autosuspend for SCSI devices, Pavel Machek, (Thu Aug 28, 1:04 am)
Re: autosuspend for SCSI devices, Oliver Neukum, (Thu Aug 28, 2:17 pm)
Re: autosuspend for SCSI devices, Pavel Machek, (Tue Sep 2, 2:08 am)
Re: autosuspend for SCSI devices, Oliver Neukum, (Tue Sep 2, 2:39 am)
Re: [linux-pm] autosuspend for SCSI devices, Alan Stern, (Tue Sep 2, 7:04 am)