[SCSI] Bogus disk geometry on large disks
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Sun, 25 Jun 2006 08:58:58 +0000 (01:58 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Mon, 26 Jun 2006 21:33:10 +0000 (16:33 -0500)
commit8d55a786febd077f3a0db9f0672dfa1288b452af
tree8894c46d5d177eebec1474ac2426cdfc0561c1e7
parent3e7196cf6070821ff8246b15dfd219ffa6409062
[SCSI] Bogus disk geometry on large disks

We currently stuff a truncated size into the geometry logic and return the
result which can produce bizarre reports for a 4Tb array.  Since that
mapping logic isn't useful for disks that big don't try and map this way at
all.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsicam.c