Does the FSD execute two IOCTLS simultaneously !!!

Hi All

Is there any chance that the File System Driver will execute two IOCTLS simultaneously ? (By default, I’m not using/creating worker-threads). because I’m facing the following problem.
I’m using a shared memory to communicate with the user-mode APP from FSD-device. Sometimes it so happens that the debug statements are mixed which is in DIRECTORY_CONTROL code and the IRP_MJ_CREATE code.
Any thoughts or suggestions would be greatly appreciated.

Thanks to all of you for helping me since the time I’ve joined in this group. Its really helping me to solve critical issues and me tooo looking forward to share my knowledge with all of u!!!..

thanking you!!!
Regards
K.Raju

You should assume that all operations in an FSD can be concurrent. So yes
you can see multiple operations at the same time in any driver you write.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

“Krishnama Raju” wrote in message
news:xxxxx@ntfsd…
Hi All

Is there any chance that the File System Driver will execute two IOCTLS
simultaneously ? (By default, I’m not using/creating worker-threads).
because I’m facing the following problem.
I’m using a shared memory to communicate with the user-mode APP from
FSD-device. Sometimes it so happens that the debug statements are mixed
which is in DIRECTORY_CONTROL code and the IRP_MJ_CREATE code.
Any thoughts or suggestions would be greatly appreciated.

Thanks to all of you for helping me since the time I’ve joined in this
group. Its really helping me to solve critical issues and me tooo looking
forward to share my knowledge with all of u!!!..

thanking you!!!
Regards
K.Raju

I certainly hope so. A single threaded file system would have hideous
performance characteristics.

In my experience, file systems are one of THE most multi-threaded parts
of the OS - they are performance critical, have lots of data structures
and serialization objects, queues, and pending I/O operations. That’s
one thing that makes them challenging and interesting to develop.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Krishnama Raju
Sent: Tuesday, May 11, 2004 8:57 AM
To: ntfsd redirect
Subject: [ntfsd] Does the FSD execute two IOCTLS simultaneously !!!

Hi All

Is there any chance that the File System Driver will execute two
IOCTLS simultaneously ? (By default, I’m not using/creating
worker-threads). because I’m facing the following problem.
I’m using a shared memory to communicate with the user-mode APP
from FSD-device. Sometimes it so happens that the debug statements are
mixed which is in DIRECTORY_CONTROL code and the IRP_MJ_CREATE code.
Any thoughts or suggestions would be greatly appreciated.

Thanks to all of you for helping me since the time I’ve joined
in this group. Its really helping me to solve critical issues and me
tooo looking forward to share my knowledge with all of u!!!..

thanking you!!!
Regards
K.Raju


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

> Is there any chance that the File System Driver will execute two IOCTLS
simultaneously ? (By

Surely, the calls to dispatch routines are not synchronized by anybody.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com