Changeset 1997 for Whitix

Show
Ignore:
Timestamp:
04/02/09 21:06:43 (3 years ago)
Author:
mwhitworth
Message:

Add fields used for flushing buffers to disk to struct StorageDevice.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/trunk/include/devices/sdevice.h

    r1874 r1997  
    2424#include <typedefs.h> 
    2525#include <llist.h> 
     26#include <wait.h> 
    2627 
    2728/* Common interface to storage devices for the block cache code */ 
     
    4243        /* Hardware information - may not apply for some storage devices */ 
    4344        DWORD heads, sectors, cylinders; 
     45         
     46        /* Flushing information */ 
     47        int syncing, numDirty; 
     48        WaitQueue flushDone; 
    4449}; 
    4550