During my copying file “A” in dir “DirA” to dir “DirB”,I pend the MJ_WRITE
irp ,queued in
my own list.But the MJ_READ irps are still going along. after a short time,
all the system
is down. the reason i think, is that the system buffer is crammed with the
file “A”'s buffer,
the OS can not even process the system files.
Any suggestions would be appreciated.
Best Regards.
Ming
You cannot pend all paging writes to the worker queues (flag
IRP_PAGING_IO is set in the IRP) – you will flood or deadlock in the
system worker queues. It’s likely that most or all writes you see when
copying a file are paging writes since they will be coming from the lazy
writer or mapped page writer.
Molly Brown
Microsoft Corporation
This posting is provided “AS IS” with no warranties and confers no
rights.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ming
Sent: Thursday, February 19, 2004 6:10 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] system panic due to the pending write
During my copying file “A” in dir “DirA” to dir “DirB”,I pend the
MJ_WRITE irp ,queued in my own list.But the MJ_READ irps are still
going along. after a short time, all the system is down. the reason i
think, is that the system buffer is crammed with the file “A”'s buffer,
the OS can not even process the system files.
Any suggestions would be appreciated.
Best Regards.
Ming
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
thanks.
So I have to handle both read and write.But you know,there are some
read ios that mustn’t be pended.how can i differentiate between
them?
–
No one knows what tomorrow would be,
but I’ll do my best.
“Molly Brown” дÈëÏûÏ¢ÐÂÎÅ:xxxxx@ntfsd…
You cannot pend all paging writes to the worker queues (flag
IRP_PAGING_IO is set in the IRP) – you will flood or deadlock in the
system worker queues. It’s likely that most or all writes you see when
copying a file are paging writes since they will be coming from the lazy
writer or mapped page writer.
Molly Brown
Microsoft Corporation
This posting is provided “AS IS” with no warranties and confers no
rights.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ming
Sent: Thursday, February 19, 2004 6:10 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] system panic due to the pending write
During my copying file “A” in dir “DirA” to dir “DirB”,I pend the
MJ_WRITE irp ,queued in my own list.But the MJ_READ irps are still
going along. after a short time, all the system is down. the reason i
think, is that the system buffer is crammed with the file “A”'s buffer,
the OS can not even process the system files.
Any suggestions would be appreciated.
Best Regards.
Ming
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
For reads and writes, it is safe to post an IO if IoGetTopLevelIrp() == NULL and this operation is *not* a paging IO (IRP_PAGING_IO is not set in the IRP).
Molly Brown
Microsoft Corporation
This posting is provided “AS IS” with no warranties and confers no rights.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Ming
Sent: Sunday, February 22, 2004 7:32 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] system panic due to the pending write
thanks.
So I have to handle both read and write.But you know,there are some read ios that mustn’t be pended.how can i differentiate between them?
–
No one knows what tomorrow would be,
but I’ll do my best.
“Molly Brown” д???Ϣ???:xxxxx@ntfsd…
You cannot pend all paging writes to the worker queues (flag IRP_PAGING_IO is set in the IRP) – you will flood or deadlock in the system worker queues. It’s likely that most or all writes you see when copying a file are paging writes since they will be coming from the lazy writer or mapped page writer.
Molly Brown
Microsoft Corporation
This posting is provided “AS IS” with no warranties and confers no rights.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ming
Sent: Thursday, February 19, 2004 6:10 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] system panic due to the pending write
During my copying file “A” in dir “DirA” to dir “DirB”,I pend the MJ_WRITE irp ,queued in my own list.But the MJ_READ irps are still going along. after a short time, all the system is down. the reason i think, is that the system buffer is crammed with the file “A”'s buffer, the OS can not even process the system files.
Any suggestions would be appreciated.
Best Regards.
Ming
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com