Re: autosuspend for SCSI devices

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pavel Machek <pavel@...>
Cc: Rafael J. Wysocki <rjw@...>, <linux-pm@...>, <James.Bottomley@...>, <linux-kernel@...>, <teheo@...>, <stefanr@...>, <Martin.Leisner@...>
Date: Thursday, August 28, 2008 - 5: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, 6:56 am)
Re: autosuspend for SCSI devices, Tino Keitel, (Mon Aug 25, 3:47 pm)
Re: autosuspend for SCSI devices, Pavel Machek, (Tue Aug 26, 5:44 am)
Re: autosuspend for SCSI devices, Rafael J. Wysocki, (Fri Aug 22, 4:52 pm)
Re: autosuspend for SCSI devices, Pavel Machek, (Mon Aug 25, 4:19 am)
Re: autosuspend for SCSI devices, Oliver Neukum, (Mon Aug 25, 4:55 am)
Re: autosuspend for SCSI devices, Pavel Machek, (Tue Aug 26, 5:43 am)
Re: autosuspend for SCSI devices, Oliver Neukum, (Tue Aug 26, 7:01 am)
Re: autosuspend for SCSI devices, Pavel Machek, (Thu Aug 28, 4:04 am)
Re: autosuspend for SCSI devices, Oliver Neukum, (Thu Aug 28, 5:17 pm)
Re: autosuspend for SCSI devices, Pavel Machek, (Tue Sep 2, 5:08 am)
Re: [linux-pm] autosuspend for SCSI devices, Alan Stern, (Tue Sep 2, 10:04 am)
Re: autosuspend for SCSI devices, Oliver Neukum, (Tue Sep 2, 5:39 am)