]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf39e08fcc2f0dc02f4f1e4f321f26b4419f64a44
tree6a09abfc3527fee50ec14cfb28c5a3c9daf2ee2b
parent9df0b408483597cc32853919688f0f162f7d0b41
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