Sending data over network

Hi,

I am using diskperf as the filter driver. I am able to capture the data
being written to hard disk in the driver. Now i need to send it over
the
network to a server by opening a port in the driver.

I have my server compnent ready. I searched the net on the same and
found
that i can build a irp to the network driver to accomplish. But the
doubt i
have is since my filter driver is loaded at boot time i am unsure as to
whether the network services will be up or not.

Can i get more clarification and method to solve the problem.

Thanks in advance
Yashasvi

You must write a TDI client code for this.

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

----- Original Message -----
From: “Yashasvi Raykar”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Monday, August 09, 2004 12:28 PM
Subject: [ntfsd] Sending data over network

> Hi,
>
> I am using diskperf as the filter driver. I am able to capture the data
> being written to hard disk in the driver. Now i need to send it over
> the
> network to a server by opening a port in the driver.
>
> I have my server compnent ready. I searched the net on the same and
> found
> that i can build a irp to the network driver to accomplish. But the
> doubt i
> have is since my filter driver is loaded at boot time i am unsure as to
> whether the network services will be up or not.
>
> Can i get more clarification and method to solve the problem.
>
> Thanks in advance
> Yashasvi
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

…or pass job to user-mode helper code if performance is not an issue
and you do not want to
mess with sometimes nasty TDI cliet code.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Tuesday, August 10, 2004 11:28 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Sending data over network

You must write a TDI client code for this.

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

----- Original Message -----
From: “Yashasvi Raykar”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Monday, August 09, 2004 12:28 PM
Subject: [ntfsd] Sending data over network

> Hi,
>
> I am using diskperf as the filter driver. I am able to capture the
> data being written to hard disk in the driver. Now i need to send it
> over the network to a server by opening a port in the driver.
>
> I have my server compnent ready. I searched the net on the same and
> found that i can build a irp to the network driver to accomplish. But
> the doubt i
> have is since my filter driver is loaded at boot time i am unsure as
to
> whether the network services will be up or not.
>
> Can i get more clarification and method to solve the problem.
>
> Thanks in advance
> Yashasvi
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.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@cooldev.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

The inverted call path can be even nastier then the TDI client.

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

----- Original Message -----
From: “Anton A. Kolomyeytsev (CoolDev.Com)”
To: “Windows File Systems Devs Interest List”
Sent: Tuesday, August 10, 2004 12:47 PM
Subject: RE: [ntfsd] Sending data over network

> …or pass job to user-mode helper code if performance is not an issue
> and you do not want to
> mess with sometimes nasty TDI cliet code.
>
> Regards,
> Anton A. Kolomyeytsev
>
> RocketDivision.Com – Toolkits for Network and Storage Kernel Software
> Developers
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
> Sent: Tuesday, August 10, 2004 11:28 AM
> To: Windows File Systems Devs Interest List
> Subject: Re: [ntfsd] Sending data over network
>
>
> You must write a TDI client code for this.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Yashasvi Raykar”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Monday, August 09, 2004 12:28 PM
> Subject: [ntfsd] Sending data over network
>
>
> > Hi,
> >
> > I am using diskperf as the filter driver. I am able to capture the
> > data being written to hard disk in the driver. Now i need to send it
> > over the network to a server by opening a port in the driver.
> >
> > I have my server compnent ready. I searched the net on the same and
> > found that i can build a irp to the network driver to accomplish. But
> > the doubt i
> > have is since my filter driver is loaded at boot time i am unsure as
> to
> > whether the network services will be up or not.
> >
> > Can i get more clarification and method to solve the problem.
> >
> > Thanks in advance
> > Yashasvi
> >
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.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@cooldev.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@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Grabbing some memory for log buffer, signalling named event to unblock
user-mode thread
so it could get the buffer calling DeviceIoControl(…) and send(…) it
to server app? Oh, really it’s
a rocket science! Compared to TDI coding which goes like a breeze. Esp.
for the ones familiar
with BSD sockets and no TDI experience at all (like original poster).

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Tuesday, August 10, 2004 1:14 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Sending data over network

The inverted call path can be even nastier then the TDI client.

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

----- Original Message -----
From: “Anton A. Kolomyeytsev (CoolDev.Com)”
To: “Windows File Systems Devs Interest List”
Sent: Tuesday, August 10, 2004 12:47 PM
Subject: RE: [ntfsd] Sending data over network

> …or pass job to user-mode helper code if performance is not an issue

> and you do not want to mess with sometimes nasty TDI cliet code.
>
> Regards,
> Anton A. Kolomyeytsev
>
> RocketDivision.Com – Toolkits for Network and Storage Kernel Software

> Developers
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S.
> Shatskih
> Sent: Tuesday, August 10, 2004 11:28 AM
> To: Windows File Systems Devs Interest List
> Subject: Re: [ntfsd] Sending data over network
>
>
> You must write a TDI client code for this.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Yashasvi Raykar”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Monday, August 09, 2004 12:28 PM
> Subject: [ntfsd] Sending data over network
>
>
> > Hi,
> >
> > I am using diskperf as the filter driver. I am able to capture the
> > data being written to hard disk in the driver. Now i need to send it

> > over the network to a server by opening a port in the driver.
> >
> > I have my server compnent ready. I searched the net on the same and
> > found that i can build a irp to the network driver to accomplish.
> > But the doubt i have is since my filter driver is loaded at boot
> > time i am unsure as
> to
> > whether the network services will be up or not.
> >
> > Can i get more clarification and method to solve the problem.
> >
> > Thanks in advance
> > Yashasvi
> >
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.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@cooldev.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@storagecraft.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@cooldev.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Sockets at TDI level are not nasty, just complex. There are several third
party socket libraries out there to make you life very easy. Let me know and
I can recommend a few.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 1:48 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

…or pass job to user-mode helper code if performance is not an issue
and you do not want to
mess with sometimes nasty TDI cliet code.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Tuesday, August 10, 2004 11:28 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Sending data over network

You must write a TDI client code for this.

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

----- Original Message -----
From: “Yashasvi Raykar”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Monday, August 09, 2004 12:28 PM
Subject: [ntfsd] Sending data over network

> Hi,
>
> I am using diskperf as the filter driver. I am able to capture the
> data being written to hard disk in the driver. Now i need to send it
> over the network to a server by opening a port in the driver.
>
> I have my server compnent ready. I searched the net on the same and
> found that i can build a irp to the network driver to accomplish. But
> the doubt i
> have is since my filter driver is loaded at boot time i am unsure as
to
> whether the network services will be up or not.
>
> Can i get more clarification and method to solve the problem.
>
> Thanks in advance
> Yashasvi
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.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@cooldev.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@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

For sending disk data in real-time, the inverted call method is terrible for
performance.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 4:03 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Grabbing some memory for log buffer, signalling named event to unblock
user-mode thread
so it could get the buffer calling DeviceIoControl(…) and send(…) it
to server app? Oh, really it’s
a rocket science! Compared to TDI coding which goes like a breeze. Esp.
for the ones familiar
with BSD sockets and no TDI experience at all (like original poster).

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Tuesday, August 10, 2004 1:14 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Sending data over network

The inverted call path can be even nastier then the TDI client.

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

----- Original Message -----
From: “Anton A. Kolomyeytsev (CoolDev.Com)”
To: “Windows File Systems Devs Interest List”
Sent: Tuesday, August 10, 2004 12:47 PM
Subject: RE: [ntfsd] Sending data over network

> …or pass job to user-mode helper code if performance is not an issue

> and you do not want to mess with sometimes nasty TDI cliet code.
>
> Regards,
> Anton A. Kolomyeytsev
>
> RocketDivision.Com – Toolkits for Network and Storage Kernel Software

> Developers
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S.
> Shatskih
> Sent: Tuesday, August 10, 2004 11:28 AM
> To: Windows File Systems Devs Interest List
> Subject: Re: [ntfsd] Sending data over network
>
>
> You must write a TDI client code for this.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Yashasvi Raykar”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Monday, August 09, 2004 12:28 PM
> Subject: [ntfsd] Sending data over network
>
>
> > Hi,
> >
> > I am using diskperf as the filter driver. I am able to capture the
> > data being written to hard disk in the driver. Now i need to send it

> > over the network to a server by opening a port in the driver.
> >
> > I have my server compnent ready. I searched the net on the same and
> > found that i can build a irp to the network driver to accomplish.
> > But the doubt i have is since my filter driver is loaded at boot
> > time i am unsure as
> to
> > whether the network services will be up or not.
> >
> > Can i get more clarification and method to solve the problem.
> >
> > Thanks in advance
> > Yashasvi
> >
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.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@cooldev.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@storagecraft.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@cooldev.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@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Did you read my very fist post? I think you did as you’ve replied to it
in the other thread…

I wrote “if performance is not an issue”. For sending simple
notification or just for log there is no need to
start looking for working TDI client sample or paying $1000 for BSD
sockets library. I’m sorry but you
have to live with this.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Tuesday, August 10, 2004 9:09 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

For sending disk data in real-time, the inverted call method is terrible
for performance.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 4:03 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Grabbing some memory for log buffer, signalling named event to unblock
user-mode thread so it could get the buffer calling DeviceIoControl(…)
and send(…) it to server app? Oh, really it’s a rocket science!
Compared to TDI coding which goes like a breeze. Esp. for the ones
familiar with BSD sockets and no TDI experience at all (like original
poster).

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Tuesday, August 10, 2004 1:14 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Sending data over network

The inverted call path can be even nastier then the TDI client.

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

----- Original Message -----
From: “Anton A. Kolomyeytsev (CoolDev.Com)”
To: “Windows File Systems Devs Interest List”
Sent: Tuesday, August 10, 2004 12:47 PM
Subject: RE: [ntfsd] Sending data over network

> …or pass job to user-mode helper code if performance is not an issue

> and you do not want to mess with sometimes nasty TDI cliet code.
>
> Regards,
> Anton A. Kolomyeytsev
>
> RocketDivision.Com – Toolkits for Network and Storage Kernel Software

> Developers
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S.
> Shatskih
> Sent: Tuesday, August 10, 2004 11:28 AM
> To: Windows File Systems Devs Interest List
> Subject: Re: [ntfsd] Sending data over network
>
>
> You must write a TDI client code for this.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Yashasvi Raykar”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Monday, August 09, 2004 12:28 PM
> Subject: [ntfsd] Sending data over network
>
>
> > Hi,
> >
> > I am using diskperf as the filter driver. I am able to capture the
> > data being written to hard disk in the driver. Now i need to send it

> > over the network to a server by opening a port in the driver.
> >
> > I have my server compnent ready. I searched the net on the same and
> > found that i can build a irp to the network driver to accomplish.
> > But the doubt i have is since my filter driver is loaded at boot
> > time i am unsure as
> to
> > whether the network services will be up or not.
> >
> > Can i get more clarification and method to solve the problem.
> >
> > Thanks in advance
> > Yashasvi
> >
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.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@cooldev.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@storagecraft.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@cooldev.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@storagecraft.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@cooldev.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Yes, I read this. However, since it is a disk filter and is transferring
disk blocks, I am guessing performance is an issue.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 12:37 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Did you read my very fist post? I think you did as you’ve replied to it
in the other thread…

I wrote “if performance is not an issue”. For sending simple
notification or just for log there is no need to
start looking for working TDI client sample or paying $1000 for BSD
sockets library. I’m sorry but you
have to live with this.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Tuesday, August 10, 2004 9:09 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

For sending disk data in real-time, the inverted call method is terrible
for performance.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 4:03 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Grabbing some memory for log buffer, signalling named event to unblock
user-mode thread so it could get the buffer calling DeviceIoControl(…)
and send(…) it to server app? Oh, really it’s a rocket science!
Compared to TDI coding which goes like a breeze. Esp. for the ones
familiar with BSD sockets and no TDI experience at all (like original
poster).

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Tuesday, August 10, 2004 1:14 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Sending data over network

The inverted call path can be even nastier then the TDI client.

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

----- Original Message -----
From: “Anton A. Kolomyeytsev (CoolDev.Com)”
To: “Windows File Systems Devs Interest List”
Sent: Tuesday, August 10, 2004 12:47 PM
Subject: RE: [ntfsd] Sending data over network

> …or pass job to user-mode helper code if performance is not an issue

> and you do not want to mess with sometimes nasty TDI cliet code.
>
> Regards,
> Anton A. Kolomyeytsev
>
> RocketDivision.Com – Toolkits for Network and Storage Kernel Software

> Developers
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S.
> Shatskih
> Sent: Tuesday, August 10, 2004 11:28 AM
> To: Windows File Systems Devs Interest List
> Subject: Re: [ntfsd] Sending data over network
>
>
> You must write a TDI client code for this.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Yashasvi Raykar”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Monday, August 09, 2004 12:28 PM
> Subject: [ntfsd] Sending data over network
>
>
> > Hi,
> >
> > I am using diskperf as the filter driver. I am able to capture the
> > data being written to hard disk in the driver. Now i need to send it

> > over the network to a server by opening a port in the driver.
> >
> > I have my server compnent ready. I searched the net on the same and
> > found that i can build a irp to the network driver to accomplish.
> > But the doubt i have is since my filter driver is loaded at boot
> > time i am unsure as
> to
> > whether the network services will be up or not.
> >
> > Can i get more clarification and method to solve the problem.
> >
> > Thanks in advance
> > Yashasvi
> >
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.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@cooldev.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@storagecraft.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@cooldev.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@storagecraft.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@cooldev.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@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Go ahead! Tell him you’re selling such a library yourself.

In some cases BSD socket libraries really save development time. But at
least in some
of the cases they don’t. People move code to kernel to make it run
faster. Thus they need
event-driven receive and not ugly select(…), async sends at raised
interrupt level, pre-post
recv buffers, zero-copy mode etc etc etc. They do not think about this
(b/s they usually do not
know much about this) from the very beginning. So after having code in
kernel and seeing it using
BSD API in quite a lof of cases next step whould be throw away $1000 BSD
socket library
and replace it with raw TDI. To make the code ran faster. So why do the
job twice and not just go
TDI way from the very beginning?

IMHO of course.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Tuesday, August 10, 2004 9:07 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Sockets at TDI level are not nasty, just complex. There are several
third party socket libraries out there to make you life very easy. Let
me know and I can recommend a few.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 1:48 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

…or pass job to user-mode helper code if performance is not an issue
and you do not want to mess with sometimes nasty TDI cliet code.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Tuesday, August 10, 2004 11:28 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Sending data over network

You must write a TDI client code for this.

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

----- Original Message -----
From: “Yashasvi Raykar”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Monday, August 09, 2004 12:28 PM
Subject: [ntfsd] Sending data over network

> Hi,
>
> I am using diskperf as the filter driver. I am able to capture the
> data being written to hard disk in the driver. Now i need to send it
> over the network to a server by opening a port in the driver.
>
> I have my server compnent ready. I searched the net on the same and
> found that i can build a irp to the network driver to accomplish. But
> the doubt i
> have is since my filter driver is loaded at boot time i am unsure as
to
> whether the network services will be up or not.
>
> Can i get more clarification and method to solve the problem.
>
> Thanks in advance
> Yashasvi
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.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@cooldev.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@storagecraft.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@cooldev.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Some libraries, not to mention any product names, have several BS extension
to support the asynchronous nature of NT. An example would be a send_async()
with a callback function as a parameter (completion routine).

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 1:13 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Go ahead! Tell him you’re selling such a library yourself.

In some cases BSD socket libraries really save development time. But at
least in some
of the cases they don’t. People move code to kernel to make it run
faster. Thus they need
event-driven receive and not ugly select(…), async sends at raised
interrupt level, pre-post
recv buffers, zero-copy mode etc etc etc. They do not think about this
(b/s they usually do not
know much about this) from the very beginning. So after having code in
kernel and seeing it using
BSD API in quite a lof of cases next step whould be throw away $1000 BSD
socket library
and replace it with raw TDI. To make the code ran faster. So why do the
job twice and not just go
TDI way from the very beginning?

IMHO of course.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Tuesday, August 10, 2004 9:07 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Sockets at TDI level are not nasty, just complex. There are several
third party socket libraries out there to make you life very easy. Let
me know and I can recommend a few.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 1:48 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

…or pass job to user-mode helper code if performance is not an issue
and you do not want to mess with sometimes nasty TDI cliet code.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Tuesday, August 10, 2004 11:28 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Sending data over network

You must write a TDI client code for this.

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

----- Original Message -----
From: “Yashasvi Raykar”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Monday, August 09, 2004 12:28 PM
Subject: [ntfsd] Sending data over network

> Hi,
>
> I am using diskperf as the filter driver. I am able to capture the
> data being written to hard disk in the driver. Now i need to send it
> over the network to a server by opening a port in the driver.
>
> I have my server compnent ready. I searched the net on the same and
> found that i can build a irp to the network driver to accomplish. But
> the doubt i
> have is since my filter driver is loaded at boot time i am unsure as
to
> whether the network services will be up or not.
>
> Can i get more clarification and method to solve the problem.
>
> Thanks in advance
> Yashasvi
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.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@cooldev.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@storagecraft.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@cooldev.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@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Why invest time and money in custom extensions (Who knows what will
happen to your company a day after
tomorrow? Will you finally have 64-bit working version or not? Today
I’ve paid you big bucks and tomorrow
morning my boss decided we need IA-64 port, should I hire you making
your propriety code work on IA-64 in
two weeks and $15K? etc etc etc). I would understand all of this if
there would be no other options. But there
*are* options present!

Why not use raw TDI? Which is here for ages, never changed since 1996
(?) and would be supported by OS
vendor itself virtually forever…

OK, this starts to be more personal then it should be. I’d better shut
up for now. Go ahead alone.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Tuesday, August 10, 2004 11:17 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Some libraries, not to mention any product names, have several BS
extension to support the asynchronous nature of NT. An example would be
a send_async() with a callback function as a parameter (completion
routine).

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 1:13 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Go ahead! Tell him you’re selling such a library yourself.

In some cases BSD socket libraries really save development time. But at
least in some of the cases they don’t. People move code to kernel to
make it run faster. Thus they need event-driven receive and not ugly
select(…), async sends at raised interrupt level, pre-post recv
buffers, zero-copy mode etc etc etc. They do not think about this (b/s
they usually do not know much about this) from the very beginning. So
after having code in kernel and seeing it using BSD API in quite a lof
of cases next step whould be throw away $1000 BSD socket library and
replace it with raw TDI. To make the code ran faster. So why do the job
twice and not just go
TDI way from the very beginning?

IMHO of course.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Tuesday, August 10, 2004 9:07 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Sockets at TDI level are not nasty, just complex. There are several
third party socket libraries out there to make you life very easy. Let
me know and I can recommend a few.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 1:48 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

…or pass job to user-mode helper code if performance is not an issue
and you do not want to mess with sometimes nasty TDI cliet code.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Tuesday, August 10, 2004 11:28 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Sending data over network

You must write a TDI client code for this.

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

----- Original Message -----
From: “Yashasvi Raykar”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Monday, August 09, 2004 12:28 PM
Subject: [ntfsd] Sending data over network

> Hi,
>
> I am using diskperf as the filter driver. I am able to capture the
> data being written to hard disk in the driver. Now i need to send it
> over the network to a server by opening a port in the driver.
>
> I have my server compnent ready. I searched the net on the same and
> found that i can build a irp to the network driver to accomplish. But
> the doubt i have is since my filter driver is loaded at boot time i am

> unsure as
to
> whether the network services will be up or not.
>
> Can i get more clarification and method to solve the problem.
>
> Thanks in advance
> Yashasvi
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.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@cooldev.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@storagecraft.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@cooldev.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@storagecraft.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@cooldev.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

And inverted user-mode callbacks are better? I sure hope you are not using
inverted user-mode callbacks in you iSCSI software :slight_smile:

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 1:39 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Why invest time and money in custom extensions (Who knows what will
happen to your company a day after
tomorrow? Will you finally have 64-bit working version or not? Today
I’ve paid you big bucks and tomorrow
morning my boss decided we need IA-64 port, should I hire you making
your propriety code work on IA-64 in
two weeks and $15K? etc etc etc). I would understand all of this if
there would be no other options. But there
*are* options present!

Why not use raw TDI? Which is here for ages, never changed since 1996
(?) and would be supported by OS
vendor itself virtually forever…

OK, this starts to be more personal then it should be. I’d better shut
up for now. Go ahead alone.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Tuesday, August 10, 2004 11:17 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Some libraries, not to mention any product names, have several BS
extension to support the asynchronous nature of NT. An example would be
a send_async() with a callback function as a parameter (completion
routine).

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 1:13 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Go ahead! Tell him you’re selling such a library yourself.

In some cases BSD socket libraries really save development time. But at
least in some of the cases they don’t. People move code to kernel to
make it run faster. Thus they need event-driven receive and not ugly
select(…), async sends at raised interrupt level, pre-post recv
buffers, zero-copy mode etc etc etc. They do not think about this (b/s
they usually do not know much about this) from the very beginning. So
after having code in kernel and seeing it using BSD API in quite a lof
of cases next step whould be throw away $1000 BSD socket library and
replace it with raw TDI. To make the code ran faster. So why do the job
twice and not just go
TDI way from the very beginning?

IMHO of course.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Tuesday, August 10, 2004 9:07 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Sockets at TDI level are not nasty, just complex. There are several
third party socket libraries out there to make you life very easy. Let
me know and I can recommend a few.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 1:48 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

…or pass job to user-mode helper code if performance is not an issue
and you do not want to mess with sometimes nasty TDI cliet code.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Tuesday, August 10, 2004 11:28 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Sending data over network

You must write a TDI client code for this.

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

----- Original Message -----
From: “Yashasvi Raykar”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Monday, August 09, 2004 12:28 PM
Subject: [ntfsd] Sending data over network

> Hi,
>
> I am using diskperf as the filter driver. I am able to capture the
> data being written to hard disk in the driver. Now i need to send it
> over the network to a server by opening a port in the driver.
>
> I have my server compnent ready. I searched the net on the same and
> found that i can build a irp to the network driver to accomplish. But
> the doubt i have is since my filter driver is loaded at boot time i am

> unsure as
to
> whether the network services will be up or not.
>
> Can i get more clarification and method to solve the problem.
>
> Thanks in advance
> Yashasvi
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.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@cooldev.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@storagecraft.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@cooldev.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@storagecraft.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@cooldev.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@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

They are not better but they could be considered to be an option at
least in some of the cases :slight_smile:

Of course no! :slight_smile:

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Wednesday, August 11, 2004 1:46 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

And inverted user-mode callbacks are better? I sure hope you are not
using inverted user-mode callbacks in you iSCSI software :slight_smile:

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 1:39 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Why invest time and money in custom extensions (Who knows what will
happen to your company a day after tomorrow? Will you finally have
64-bit working version or not? Today I’ve paid you big bucks and
tomorrow morning my boss decided we need IA-64 port, should I hire you
making your propriety code work on IA-64 in two weeks and $15K? etc etc
etc). I would understand all of this if there would be no other options.
But there
*are* options present!

Why not use raw TDI? Which is here for ages, never changed since 1996
(?) and would be supported by OS
vendor itself virtually forever…

OK, this starts to be more personal then it should be. I’d better shut
up for now. Go ahead alone.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Tuesday, August 10, 2004 11:17 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Some libraries, not to mention any product names, have several BS
extension to support the asynchronous nature of NT. An example would be
a send_async() with a callback function as a parameter (completion
routine).

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 1:13 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Go ahead! Tell him you’re selling such a library yourself.

In some cases BSD socket libraries really save development time. But at
least in some of the cases they don’t. People move code to kernel to
make it run faster. Thus they need event-driven receive and not ugly
select(…), async sends at raised interrupt level, pre-post recv
buffers, zero-copy mode etc etc etc. They do not think about this (b/s
they usually do not know much about this) from the very beginning. So
after having code in kernel and seeing it using BSD API in quite a lof
of cases next step whould be throw away $1000 BSD socket library and
replace it with raw TDI. To make the code ran faster. So why do the job
twice and not just go
TDI way from the very beginning?

IMHO of course.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Tuesday, August 10, 2004 9:07 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

Sockets at TDI level are not nasty, just complex. There are several
third party socket libraries out there to make you life very easy. Let
me know and I can recommend a few.

Jamey

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Anton A.
Kolomyeytsev (CoolDev.Com)
Sent: Tuesday, August 10, 2004 1:48 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] Sending data over network

…or pass job to user-mode helper code if performance is not an issue
and you do not want to mess with sometimes nasty TDI cliet code.

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Tuesday, August 10, 2004 11:28 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Sending data over network

You must write a TDI client code for this.

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

----- Original Message -----
From: “Yashasvi Raykar”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Monday, August 09, 2004 12:28 PM
Subject: [ntfsd] Sending data over network

> Hi,
>
> I am using diskperf as the filter driver. I am able to capture the
> data being written to hard disk in the driver. Now i need to send it
> over the network to a server by opening a port in the driver.
>
> I have my server compnent ready. I searched the net on the same and
> found that i can build a irp to the network driver to accomplish. But
> the doubt i have is since my filter driver is loaded at boot time i am

> unsure as
to
> whether the network services will be up or not.
>
> Can i get more clarification and method to solve the problem.
>
> Thanks in advance
> Yashasvi
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.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@cooldev.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@storagecraft.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@cooldev.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@storagecraft.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@cooldev.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@storagecraft.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@cooldev.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi All,

Thanks really for the help, adivce etc. Since performance is an issue here i
think i need to go with the TDI client.

I certainly don’t know how nasty it can be but looking at the replies i am
worried now.

Thanks again
Yashasvi

“Yashasvi Raykar” wrote in message news:xxxxx@ntfsd…
> Hi,
>
> I am using diskperf as the filter driver. I am able to capture the data
> being written to hard disk in the driver. Now i need to send it over
> the
> network to a server by opening a port in the driver.
>
> I have my server compnent ready. I searched the net on the same and
> found
> that i can build a irp to the network driver to accomplish. But the
> doubt i
> have is since my filter driver is loaded at boot time i am unsure as to
> whether the network services will be up or not.
>
> Can i get more clarification and method to solve the problem.
>
> Thanks in advance
> Yashasvi
>
>
>

I think I’ve used wrong word. Thanks to some of SC guys for pointing.
Not nasty, just a bit of
complex :slight_smile: You can either get some stuff from www.pcausa.com or try
searching the net (and this list
archives also). Unfortunately there are no TDI client samples in DDK.
But if this is not your first and last
network kernel project I think investing some time into investigation
how to code with TDI definitely worth
spent time :slight_smile:

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software
Developers

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Yashasvi
Sent: Wednesday, August 11, 2004 11:51 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] Sending data over network

Hi All,

Thanks really for the help, adivce etc. Since performance is an issue
here i think i need to go with the TDI client.

I certainly don’t know how nasty it can be but looking at the replies i
am worried now.

Thanks again
Yashasvi

“Yashasvi Raykar” wrote in message
news:xxxxx@ntfsd…
> Hi,
>
> I am using diskperf as the filter driver. I am able to capture the
> data being written to hard disk in the driver. Now i need to send it
> over the network to a server by opening a port in the driver.
>
> I have my server compnent ready. I searched the net on the same and
> found that i can build a irp to the network driver to accomplish. But
> the doubt i
> have is since my filter driver is loaded at boot time i am unsure as
to
> whether the network services will be up or not.
>
> Can i get more clarification and method to solve the problem.
>
> Thanks in advance
> Yashasvi
>
>
>


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

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

Hi All,

One more question i found only PCAUSA site providing a sample for a TDI
client which is charged. Should i go for this.

Or are there any other means of getting it.

Thanks
Yashasvi

“Yashasvi” wrote in message news:xxxxx@ntfsd…
> Hi All,
>
> Thanks really for the help, adivce etc. Since performance is an issue here
i
> think i need to go with the TDI client.
>
> I certainly don’t know how nasty it can be but looking at the replies i am
> worried now.
>
> Thanks again
> Yashasvi
>
> “Yashasvi Raykar” wrote in message news:xxxxx@ntfsd…
> > Hi,
> >
> > I am using diskperf as the filter driver. I am able to capture the data
> > being written to hard disk in the driver. Now i need to send it over
> > the
> > network to a server by opening a port in the driver.
> >
> > I have my server compnent ready. I searched the net on the same and
> > found
> > that i can build a irp to the network driver to accomplish. But the
> > doubt i
> > have is since my filter driver is loaded at boot time i am unsure as to
> > whether the network services will be up or not.
> >
> > Can i get more clarification and method to solve the problem.
> >
> > Thanks in advance
> > Yashasvi
> >
> >
> >
>
>
>

Yashasvi,

I had the privilege of getting to spend some time working with Thomas’s stuff about 2 years ago for some low level networking kernel code I had to write, and I can tell you that an investment in his kit is WELL worth the money.

Besides the excellent support that Thomas provides, the API and sample code itself makes a huge difference. The time you will save by purchasing the kit will more that pay for itself.

If you need to roll out a TDI client, don’t waste your time tackling this part of the learning curve. If you are not sure or are uncomfortable, just talk to Thomas (xxxxx@pcausa.com). He can answer any questions that you may have.

Good luck.


Regards,
Dana Epp
[Blog: http://silverstr.ufies.org/blog/]

Yashasvi wrote:

Hi All,

One more question i found only PCAUSA site providing a sample for a TDI
client which is charged. Should i go for this.

Or are there any other means of getting it.

Thanks
Yashasvi

“Yashasvi” wrote in message news:xxxxx@ntfsd…
>
>>Hi All,
>>
>>Thanks really for the help, adivce etc. Since performance is an issue here
>
> i
>
>>think i need to go with the TDI client.
>>
>>I certainly don’t know how nasty it can be but looking at the replies i am
>>worried now.
>>
>>Thanks again
>>Yashasvi
>>
>>“Yashasvi Raykar” wrote in message news:xxxxx@ntfsd…
>>
>>>Hi,
>>>
>>>I am using diskperf as the filter driver. I am able to capture the data
>>>being written to hard disk in the driver. Now i need to send it over
>>>the
>>>network to a server by opening a port in the driver.
>>>
>>>I have my server compnent ready. I searched the net on the same and
>>>found
>>>that i can build a irp to the network driver to accomplish. But the
>>>doubt i
>>>have is since my filter driver is loaded at boot time i am unsure as to
>>>whether the network services will be up or not.
>>>
>>>Can i get more clarification and method to solve the problem.
>>>
>>>Thanks in advance
>>>Yashasvi