Re: [PATCHSET] block,scsi,libata: implement alt_size

From: Jeff Garzik
Date: Thu Apr 30 2009 - 16:00:33 EST


Tejun Heo wrote:
Hello,

Jeff Garzik wrote:
<shrug> I suppose...

It just seems like a nasty hack, but unfortunately I don't see
anyone stepping up to do it properly -- with a DM device
automatically layered on top that splits the device into separate
regions: one block device for the 'regular' area, and one for the
HPA.

Isn't that more hacky? I don't know. All that dm needs to know is
the location of the metadata which is located w.r.t. the end of the
device which might be at a different location if BIOS tried to pull
silly stunts. So, exporting the size BIOS might have used seems like
a straight forward solution to me.

"<shrug> I suppose" is basically a reluctant ack, in the absence of other solutions :)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/