1ATA_SCSI_SLAVE_DESTR(9) libata SCSI translation/emulat ATA_SCSI_SLAVE_DESTR(9)
2
3
4

NAME

6       ata_scsi_slave_destroy - SCSI device is about to be destroyed
7

SYNOPSIS

9       void ata_scsi_slave_destroy(struct scsi_device * sdev);
10

ARGUMENTS

12       sdev
13           SCSI device to be destroyed
14

DESCRIPTION

16       sdev is about to be destroyed for hot/warm unplugging. If this
17       unplugging was initiated by libata as indicated by NULL dev->sdev, this
18       function doesn´t have to do anything. Otherwise, SCSI layer initiated
19       warm-unplug is in progress. Clear dev->sdev, schedule the device for
20       ATA detach and invoke EH.
21

LOCKING

23       Defined by SCSI layer. We don´t really care.
24

AUTHOR

26       Jeff Garzik
27           Author.
28
30Kernel Hackers Manual 2.6.         June 2019           ATA_SCSI_SLAVE_DESTR(9)
Impressum