Re: Core scsi layer crashes in 2.6.8.1

James Bottomley
2004-10-05T14:56:11Z

On Tue, 2004-10-05 at 09:44, Mark Lord wrote:
> There seem to be other holes/races in this and related code.
>
> The QStor driver implements hot insertion/removal of drives.
>
> One thing it has to cope with at present is, after notifying
> the mid-layer that a drive has been removed, the mid-layer calls
> back with a synchronize-cache command for that drive..

This is expected behaviour. For orderly removal an cache sync command
must be sent to drives with a writeback cache before they're powered
down. For forced ejection, the driver has to error the command.

James