Home
last modified time | relevance | path

Searched hist:b485462aca7df4e32bcf7efb6f84a69e8b640243 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Dscsi_sysfs.cdiff b485462aca7df4e32bcf7efb6f84a69e8b640243 Fri Jun 29 10:36:07 CDT 2012 Bart Van Assche <bvanassche@acm.org> [SCSI] Stop accepting SCSI requests before removing a device

Avoid that the code for requeueing SCSI requests triggers a
crash by making sure that that code isn't scheduled anymore
after a device has been removed.

Also, source code inspection of __scsi_remove_device() revealed
a race condition in this function: no new SCSI requests must be
accepted for a SCSI device after device removal started.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
H A Dscsi_lib.cdiff b485462aca7df4e32bcf7efb6f84a69e8b640243 Fri Jun 29 10:36:07 CDT 2012 Bart Van Assche <bvanassche@acm.org> [SCSI] Stop accepting SCSI requests before removing a device

Avoid that the code for requeueing SCSI requests triggers a
crash by making sure that that code isn't scheduled anymore
after a device has been removed.

Also, source code inspection of __scsi_remove_device() revealed
a race condition in this function: no new SCSI requests must be
accepted for a SCSI device after device removal started.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>