commit | 5447ed6c968e7270b656afa273c2b79d15d82edd | [log] [tgz] |
---|---|---|
author | Douglas Gilbert <dgilbert@interlog.com> | Sun Apr 25 12:30:23 2010 +0200 |
committer | James Bottomley <James.Bottomley@suse.de> | Sun May 02 11:18:55 2010 -0400 |
tree | 4b38209630c9d9722e42c1b15cf5b642c6c30c1b | |
parent | 96b1f96dcab87756c0a1e7ba76bc5dc2add82b88 [diff] |
[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 <dgilbert@interlog.com> Cc: Stable Tree <stable@kernel.org> Signed-off-by: James Bottomley <James.Bottomley@suse.de>