Shutdown sequence: NDIS and FSDs

Hi all,

we are developing a custom block device driver which will work over the
network and thus talks to the network layers from its bottom side.
My question is (for both NT4 and w2k OSes):

  • does the OS guarantee that NDIS layer will not be shut down before all
    FSDs will flush their caches?
    Otherwise, we will have problems if NDIS will be already shut down and
    we will not be able to process the cache flush at shutdown activity from the
    FSDs.


Maxim Shatskih
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

From what I can see here, until and unless I return all the packets and
flush my queues NDIS does not shutdown or let my driver unload.
If I have any queues that need to be flushed then I wait in my shutdown
handler until I have flushed them, and until my shutdown handler exits, NDIS
does not unload ( or so it seems ).

Ramit.
----- Original Message -----
From: “Maxim S. Shatskih”
To: “NT Developers Interest List”
Sent: Tuesday, March 27, 2001 4:54 AM
Subject: [ntdev] Shutdown sequence: NDIS and FSDs

> Hi all,
>
> we are developing a custom block device driver which will work over
the
> network and thus talks to the network layers from its bottom side.
> My question is (for both NT4 and w2k OSes):
> - does the OS guarantee that NDIS layer will not be shut down before
all
> FSDs will flush their caches?
> Otherwise, we will have problems if NDIS will be already shut down and
> we will not be able to process the cache flush at shutdown activity from
the
> FSDs.
>
> –
> Maxim Shatskih
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@wipro.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com