OSDN Git Service

[SCSI] scsi_debug: fix Thin provisioning support
authorDouglas Gilbert <dgilbert@interlog.com>
Thu, 29 Oct 2009 05:48:31 +0000 (01:48 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:49 +0000 (12:00 -0600)
commit1e49f78505b2c4df193614d774bf46d067cda7d8
tree7c27efa7e6d44515c5c0b631ae559297ee7e15bd
parent851b164231d1117673aa44c00c7622e48b7dfcf4
[SCSI] scsi_debug: fix Thin provisioning support

While testing scsi_debug with these patches I found a
problem with the Block Limits VPD page function. The
length returned by the inquiry_evpd_b0() function was
too short. A patch to fix that and a cosmetic change
(that the form factor of scsi_debug is less than 1.8
inches) is attached.

Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/scsi_debug.c