Fastfat KB289205 bug, how avoid?

Hello All,

in my file system filter I see KB289205 bug (
http://support.microsoft.com/default.aspx?scid=KB;en-us;289205& )

I’m sure that it is cause of my problem becuase I traced it in fastfat
sources.

The bug have fixed in w2k SP2 but filter must work on w2k without
SPs. So I’m looking for workaround of the problem. I hope I’m not
alone who faced the problem, how you guys fixing it?

The bug applied only for async fileobjects but I send query for
StandardInformation and for FileNameInformation on successful complete
of IRP_CREATE. By the way I use file object I have and can
not control it.

Thanks for any help!

Andrey mailto:xxxxx@sandy.ru

If you are rolling your own irp to query the file system, you could try to
ORing IRP_SYNCHRONOUS_API into the irp’s Flags field (e.g. Irp->Flags |=
IRP_SYNCHRONOUS_API).

-Joel

-----Original Message-----
From: Andrey Kolishak [mailto:xxxxx@sandy.ru]
Sent: Tuesday, November 19, 2002 10:09 AM
To: File Systems Developers
Subject: [ntfsd] Fastfat KB289205 bug, how avoid?

Hello All,

in my file system filter I see KB289205 bug (
http://support.microsoft.com/default.aspx?scid=KB;en-us;289205& )

I’m sure that it is cause of my problem becuase I traced it in fastfat
sources.

The bug have fixed in w2k SP2 but filter must work on w2k without
SPs. So I’m looking for workaround of the problem. I hope I’m not
alone who faced the problem, how you guys fixing it?

The bug applied only for async fileobjects but I send query for
StandardInformation and for FileNameInformation on successful complete
of IRP_CREATE. By the way I use file object I have and can
not control it.

Thanks for any help!

Andrey mailto:xxxxx@sandy.ru


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

Hello Joel,

JS> If you are rolling your own irp to query the file system, you could try to
JS> ORing IRP_SYNCHRONOUS_API into the irp’s Flags field (e.g. Irp->Flags |=
JS> IRP_SYNCHRONOUS_API).

if understand the problem correclty it’s not depend on IRP type
(sync/async) but on async file objects. The same specified in MS KB.
So IRP stuff is irrelevant to the bug.

Best regards,
Andrey mailto:xxxxx@sandy.ru

JS> -----Original Message-----
JS> From: Andrey Kolishak [mailto:xxxxx@sandy.ru]
JS> Sent: Tuesday, November 19, 2002 10:09 AM
JS> To: File Systems Developers
JS> Subject: [ntfsd] Fastfat KB289205 bug, how avoid?

JS> Hello All,

JS> in my file system filter I see KB289205 bug (
JS> http://support.microsoft.com/default.aspx?scid=KB;en-us;289205& )

JS> I’m sure that it is cause of my problem becuase I traced it in fastfat
JS> sources.

JS> The bug have fixed in w2k SP2 but filter must work on w2k without
JS> SPs. So I’m looking for workaround of the problem. I hope I’m not
JS> alone who faced the problem, how you guys fixing it?

JS> The bug applied only for async fileobjects but I send query for
JS> StandardInformation and for FileNameInformation on successful complete
JS> of IRP_CREATE. By the way I use file object I have and can
JS> not control it.

JS> Thanks for any help!

JS> Andrey mailto:xxxxx@sandy.ru

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

JS> —
JS> You are currently subscribed to ntfsd as: xxxxx@sandy.ru
JS> To unsubscribe send a blank email to %%email.unsub%%

>JS> If you are rolling your own irp to query the file system, you could

try to
JS> ORing IRP_SYNCHRONOUS_API into the irp’s Flags field (e.g. Irp->Flags
|=
JS> IRP_SYNCHRONOUS_API).

if understand the problem correclty it’s not depend on IRP type
(sync/async) but on async file objects. The same specified in MS KB.
So IRP stuff is irrelevant to the bug.

I think setting IRP_SYNCHRONOUS_API flag should help because decision to
queue processing is based on result of IoIsOperationSynchronous function
that checks both IRP flags and file object flags.

Alexei.

you are right, async IRP really helps. In help on IoIsOperationSynchronous
there are good comments, that ZwQueryInformationFile always set
IRP_SYNCHRONOUS_API even for async file objects. It’s probably reason
the bug lived up to w2ksp2.

Thanks, Alexei and Joel!

Best regards,
Andrey mailto:xxxxx@sandy.ru

>JS> If you are rolling your own irp to query the file system, you could
>try to
>JS> ORing IRP_SYNCHRONOUS_API into the irp’s Flags field (e.g. Irp->Flags
>|=
>JS> IRP_SYNCHRONOUS_API).
>
>if understand the problem correclty it’s not depend on IRP type
>(sync/async) but on async file objects. The same specified in MS KB.
>So IRP stuff is irrelevant to the bug.

AJ> I think setting IRP_SYNCHRONOUS_API flag should help because decision to
AJ> queue processing is based on result of IoIsOperationSynchronous function
AJ> that checks both IRP flags and file object flags.

AJ> Alexei.

AJ> —
AJ> You are currently subscribed to ntfsd as: xxxxx@sandy.ru
AJ> To unsubscribe send a blank email to %%email.unsub%%