win-pvdrivers

changeset 984:aefd5458e6c3 0.11.0.361

better management of sector size
author James Harper <james.harper@bendigoit.com.au>
date Fri Sep 21 10:08:42 2012 +1000 (2012-09-21)
parents d9da5f8f7431
children e37cb266aa50
files xenvbd/xenvbd_storport.h
line diff
     1.1 --- a/xenvbd/xenvbd_storport.h	Fri Sep 21 10:08:28 2012 +1000
     1.2 +++ b/xenvbd/xenvbd_storport.h	Fri Sep 21 10:08:42 2012 +1000
     1.3 @@ -149,7 +149,8 @@ struct
     1.4    blkif_response_t tmp_rep;
     1.5    XENVBD_DEVICETYPE device_type;
     1.6    XENVBD_DEVICEMODE device_mode;
     1.7 -  ULONG bytes_per_sector;
     1.8 +  ULONG bytes_per_sector; /* 512 for disk, 2048 for CDROM) */
     1.9 +  ULONG hw_bytes_per_sector; /* underlying hardware format, eg 4K */
    1.10    ULONGLONG total_sectors;
    1.11    XENPCI_VECTORS vectors;
    1.12    PXENPCI_DEVICE_STATE device_state;