diff options
| author | Paolo Bonzini <[email protected]> | 2012-10-02 15:25:48 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2012-10-09 10:24:47 +0000 |
| commit | 865b58c05b841964f48f574c2027311bd04db8a1 (patch) | |
| tree | 2559fdb2e8b8191caf97900be89758230f394607 /drivers/scsi/scsi_debug.c | |
| parent | [SCSI] virtio-scsi: fix LUNs greater than 255 (diff) | |
| download | kernel-865b58c05b841964f48f574c2027311bd04db8a1.tar.gz kernel-865b58c05b841964f48f574c2027311bd04db8a1.zip | |
[SCSI] virtio-scsi: support online resizing of disks
Support the LUN parameter change event. Currently, the host fires this event
when the capacity of a disk is changed from the virtual machine monitor.
The resize then appears in the kernel log like this:
sd 0:0:0:0: [sda] 46137344 512-byte logical blocks: (23.6 GB/22.0 GIb)
sda: detected capacity change from 22548578304 to 23622320128
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions
