Add alignment hints for e512 ATA drives.

This commit is contained in:
google 2012-09-09 17:22:12 +12:00
parent aead11533e
commit dd1b8df880
7 changed files with 32 additions and 9 deletions

View file

@ -42,6 +42,8 @@ struct Disk {
vlong size;
vlong offset; /* within larger disk, perhaps */
int width; /* of disk size in bytes as decimal string */
int psecsize;
int physalign;
int c;
int h;
int s;

View file

@ -102,6 +102,7 @@ struct Sfis {
uint sig;
uint lsectsz;
uint physshift; /* log2(log/phys) */
uint physalign; /* location of lba0 within phys0 */
uint c; /* disgusting, no? */
uint h;
uint s;