http://bugzilla.novell.com/show_bug.cgi?id=535939 http://bugzilla.novell.com/show_bug.cgi?id=535939#c1 --- Comment #1 from Jeff Mahoney <jeffm@novell.com> 2009-12-19 17:50:02 UTC --- Created an attachment (id=333560) --> (http://bugzilla.novell.com/attachment.cgi?id=333560) scsi_debug: scale virtual_gb with sector_size properly[PATCH] Patch-mainline: Probably 2.6.33; Acked on linux-scsi 17 Dec 2009 The scsi_debug virtual_gb feature currently assumes that the sector size is always 512 bytes and scales virtual_gb based on that assumption. When passed a different sector size, the capacity of the disk is scaled incorrectly higher than it should be. For example, modprobe scsi_debug virtual_gb=1 sector_size=4096 results in an 8 GB device. This patch scales it appropriately. Signed-off-by: Jeff Mahoney <jeffm@suse.com> -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.