Changeset 1957 for Whitix/tags

Show
Ignore:
Timestamp:
02/28/09 16:05:32 (3 years ago)
Author:
mwhitworth
Message:

Include per-device information for buffer flusher.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/tags/0.2b/include/devices/sdevice.h

    r1874 r1957  
    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