IRP_MJ_CLOSE before IRP_MJ_CLEANUP

I have noticed the following behavior;
From Command prompt:
Type X:\MyFile.xx

… File is opened/closed and Read and then
IRP_MJ_CLEANUP is called
…IRP_MJ_CLOSE never shows up which is typical for NT due to
reference count not hitting zero
Now if we try the same command again
Type X:\MyFile.xx
… File is opened/closed and Read and then
IRP_MJ_CLOSE is called
IRP_MJ_CLEANUP is called
My guess is that IRP_MJ_CLEANUP should have called before IRP_MJ_CLOSE

So I am wondering;
How can I force IO manager to post IRP_MJ_CLOSE rather quickly in first
case and in correct order second case??
Any help is appreciated.

What version of NT is this?

-----Original Message-----
From: xxxxx@webfs.com [mailto:xxxxx@webfs.com]
Sent: Monday, April 15, 2002 2:09 PM
To: File Systems Developers
Subject: [ntfsd] IRP_MJ_CLOSE before IRP_MJ_CLEANUP

I have noticed the following behavior;
From Command prompt:
Type X:\MyFile.xx

… File is opened/closed and Read and then
IRP_MJ_CLEANUP is called
…IRP_MJ_CLOSE never shows up which is typical for NT due to
reference count not hitting zero
Now if we try the same command again
Type X:\MyFile.xx
… File is opened/closed and Read and then
IRP_MJ_CLOSE is called
IRP_MJ_CLEANUP is called
My guess is that IRP_MJ_CLEANUP should have called before IRP_MJ_CLOSE

So I am wondering;
How can I force IO manager to post IRP_MJ_CLOSE rather quickly in first
case and in correct order second case??
Any help is appreciated.


You are currently subscribed to ntfsd as: xxxxx@inin.com
To unsubscribe send a blank email to %%email.unsub%%

NT Version: Win2K
Thanks for your time
Shafiq

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Fuller, Rob
Sent: Monday, April 15, 2002 12:23 PM
To: File Systems Developers
Subject: [ntfsd] RE: IRP_MJ_CLOSE before IRP_MJ_CLEANUP

What version of NT is this?

-----Original Message-----
From: xxxxx@webfs.com [mailto:xxxxx@webfs.com]
Sent: Monday, April 15, 2002 2:09 PM
To: File Systems Developers
Subject: [ntfsd] IRP_MJ_CLOSE before IRP_MJ_CLEANUP

I have noticed the following behavior;
From Command prompt:
Type X:\MyFile.xx

… File is opened/closed and Read and then
IRP_MJ_CLEANUP is called
…IRP_MJ_CLOSE never shows up which is typical for NT due to
reference count not hitting zero
Now if we try the same command again
Type X:\MyFile.xx
… File is opened/closed and Read and then
IRP_MJ_CLOSE is called
IRP_MJ_CLEANUP is called
My guess is that IRP_MJ_CLEANUP should have called before IRP_MJ_CLOSE

So I am wondering;
How can I force IO manager to post IRP_MJ_CLOSE rather quickly in first
case and in correct order second case??
Any help is appreciated.


You are currently subscribed to ntfsd as: xxxxx@inin.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntfsd as: xxxxx@webfs.com
To unsubscribe send a blank email to %%email.unsub%%

Is the problem with NTFS or FAT?

-----Original Message-----
From: Muhammad Shafiq [mailto:xxxxx@webfs.com]
Sent: Monday, April 15, 2002 2:49 PM
To: File Systems Developers
Subject: [ntfsd] RE: IRP_MJ_CLOSE before IRP_MJ_CLEANUP

NT Version: Win2K
Thanks for your time
Shafiq

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Fuller, Rob
Sent: Monday, April 15, 2002 12:23 PM
To: File Systems Developers
Subject: [ntfsd] RE: IRP_MJ_CLOSE before IRP_MJ_CLEANUP

What version of NT is this?

-----Original Message-----
From: xxxxx@webfs.com [mailto:xxxxx@webfs.com]
Sent: Monday, April 15, 2002 2:09 PM
To: File Systems Developers
Subject: [ntfsd] IRP_MJ_CLOSE before IRP_MJ_CLEANUP

I have noticed the following behavior;
From Command prompt:
Type X:\MyFile.xx

… File is opened/closed and Read and then
IRP_MJ_CLEANUP is called
…IRP_MJ_CLOSE never shows up which is typical for NT due to
reference count not hitting zero
Now if we try the same command again
Type X:\MyFile.xx
… File is opened/closed and Read and then
IRP_MJ_CLOSE is called
IRP_MJ_CLEANUP is called
My guess is that IRP_MJ_CLEANUP should have called before IRP_MJ_CLOSE

So I am wondering;
How can I force IO manager to post IRP_MJ_CLOSE rather quickly in first
case and in correct order second case??
Any help is appreciated.


You are currently subscribed to ntfsd as: xxxxx@inin.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntfsd as: xxxxx@webfs.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntfsd as: xxxxx@inin.com
To unsubscribe send a blank email to %%email.unsub%%

For Both NTFS and FAT

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Fuller, Rob
Sent: Monday, April 15, 2002 1:04 PM
To: File Systems Developers
Subject: [ntfsd] RE: IRP_MJ_CLOSE before IRP_MJ_CLEANUP

Is the problem with NTFS or FAT?

-----Original Message-----
From: Muhammad Shafiq [mailto:xxxxx@webfs.com]
Sent: Monday, April 15, 2002 2:49 PM
To: File Systems Developers
Subject: [ntfsd] RE: IRP_MJ_CLOSE before IRP_MJ_CLEANUP

NT Version: Win2K
Thanks for your time
Shafiq

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Fuller, Rob
Sent: Monday, April 15, 2002 12:23 PM
To: File Systems Developers
Subject: [ntfsd] RE: IRP_MJ_CLOSE before IRP_MJ_CLEANUP

What version of NT is this?

-----Original Message-----
From: xxxxx@webfs.com [mailto:xxxxx@webfs.com]
Sent: Monday, April 15, 2002 2:09 PM
To: File Systems Developers
Subject: [ntfsd] IRP_MJ_CLOSE before IRP_MJ_CLEANUP

I have noticed the following behavior;
From Command prompt:
Type X:\MyFile.xx

… File is opened/closed and Read and then
IRP_MJ_CLEANUP is called
…IRP_MJ_CLOSE never shows up which is typical for NT due to
reference count not hitting zero
Now if we try the same command again
Type X:\MyFile.xx
… File is opened/closed and Read and then
IRP_MJ_CLOSE is called
IRP_MJ_CLEANUP is called
My guess is that IRP_MJ_CLEANUP should have called before IRP_MJ_CLOSE

So I am wondering;
How can I force IO manager to post IRP_MJ_CLOSE rather quickly in first
case and in correct order second case??
Any help is appreciated.


You are currently subscribed to ntfsd as: xxxxx@inin.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntfsd as: xxxxx@webfs.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntfsd as: xxxxx@inin.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntfsd as: xxxxx@webfs.com
To unsubscribe send a blank email to %%email.unsub%%