]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/scsi/scsi_debug.c
scsi_debug: add Capacity Changed Unit Attention
authorDouglas Gilbert <dgilbert@interlog.com>
Tue, 25 Nov 2014 01:27:51 +0000 (20:27 -0500)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Nov 2014 14:42:56 +0000 (15:42 +0100)
commit0d01c5df5cd470515a88a454ba69126f4b7abdab
tree6a09abfc3527fee50ec14cfb28c5a3c9daf2ee2b
parent817fd66beb779dbbe44c46dd11e64d8275efb593
scsi_debug: add Capacity Changed Unit Attention

Via sysfs the virtual_gb scsi_debug parameter can be changed while
LUs are in use. If that changes, the 'Capacity data has changed'
Unit Attention is queued on all LUs.

Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/scsi_debug.c