From: Douglas Gilbert Date: Sun, 25 Apr 2010 10:30:23 +0000 (+0200) Subject: [SCSI] scsi_debug: virtual_gb ignores sector_size X-Git-Tag: v2.6.34-rc7~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5447ed6c968e7270b656afa273c2b79d15d82edd;p=pandora-kernel.git [SCSI] scsi_debug: virtual_gb ignores sector_size In the scsi_debug driver, the virtual_gb option ignores the sector_size, implicitly assuming that is 512 bytes. So if 'virtual_gb=1 sector_size=4096' the result is an 8 GB (virtual) disk. Signed-off-by: Douglas Gilbert Cc: Stable Tree Signed-off-by: James Bottomley --- Reading git-diff-tree failed