win-pvdrivers

diff xenvbd/xenvbd.h @ 790:467005e7f509

Big messy changes. Add grant ref tagging to better track when things go wrong (debug build only).
Fix a race in xennet that causes crashes under heavy traffic conditions on driver shutdown.
author James Harper <james.harper@bendigoit.com.au>
date Fri Mar 12 09:38:42 2010 +1100 (2010-03-12)
parents 2b2bf47e8672
children bbc6c94b9621
line diff
     1.1 --- a/xenvbd/xenvbd.h	Fri Mar 12 09:35:56 2010 +1100
     1.2 +++ b/xenvbd/xenvbd.h	Fri Mar 12 09:38:42 2010 +1100
     1.3 @@ -137,8 +137,7 @@ struct
     1.4    XENPCI_VECTORS vectors;
     1.5    PXENPCI_DEVICE_STATE device_state;
     1.6    LIST_ENTRY srb_list;
     1.7 -  ULONG next_request; // debug - true if nextrequest has been sent
     1.8 -  //grant_ref_t dump_grant_refs[BLKIF_MAX_SEGMENTS_PER_REQUEST - 1];
     1.9 +  grant_ref_t dump_grant_refs[BLKIF_MAX_SEGMENTS_PER_REQUEST];
    1.10    BOOLEAN aligned_buffer_in_use;
    1.11    PVOID aligned_buffer;
    1.12    UCHAR aligned_buffer_data[(BLKIF_MAX_SEGMENTS_PER_REQUEST + 1) * PAGE_SIZE - 1];