Can default KMDF WDFQUEUE be manual?

Since I got zero response to my first query, I’ll reduce the problem set to
one simple question, and one simple question based on the answer to the
first one.

Is making the default IO queue a manual queue by calling:
WDF_IO_QUEUE_CONFIG_INIT_DEFAULT_QUEUE(&qConfig, WdfIoQueueDispatchManual);
a supported configuration?

If that is supported, is it also a supported config to set the ready
callback with WdfIoQueueReadyNotify on the default WDFQUEUE?

Thanks for specific answers,

Phil

Philip D. Barila
Seagate Technology LLC
(720) 684-1842

Sorry I didn’t get back on your earlier question- I’ve been off fighting other fires (worse, I didn’t flag your original request as something I ought to look at)…

The answer to both questions is “yes”. Default manual queues are fine. (I just double-checked that against the source to be absolutely certain).

I’ll go back to your earlier post, and if that needs anything further, I’ll answer there (unless its an issue out of my reach).

I am pretty sure it is supported (a quick root enumerated driver would
tell you if you don’t want to muck w/your existing driver), but I think
the overhead of having a parallel top level queue and queueing to the
manual queue is not overhead at all, so I think either design would be
fine.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@seagate.com
Sent: Tuesday, October 24, 2006 7:25 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Can default KMDF WDFQUEUE be manual?

Since I got zero response to my first query, I’ll reduce the problem set
to
one simple question, and one simple question based on the answer to the
first one.

Is making the default IO queue a manual queue by calling:
WDF_IO_QUEUE_CONFIG_INIT_DEFAULT_QUEUE(&qConfig,
WdfIoQueueDispatchManual);
a supported configuration?

If that is supported, is it also a supported config to set the ready
callback with WdfIoQueueReadyNotify on the default WDFQUEUE?

Thanks for specific answers,

Phil

Philip D. Barila
Seagate Technology LLC
(720) 684-1842


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Not to put too fine a point on it, but (allowed by the current
implementation == empirically determined success) != supported. :slight_smile:

There are lots of techniques that “work”, but aren’t supported, and later
don’t “work” with OS changes, so I’d really rather not break a contract
that you choose to enforce later. Since Bob K has assured me that it is,
indeed, supported, I’ll go ahead and use it.

Thanks,

Phil

Philip D. Barila

Seagate Technology LLC

(720) 684-1842


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan


Sent: Tuesday, October 24, 2006 9:41 AM

To: “Windows System Software Devs Interest List”

Subject: RE: [ntdev] Can default KMDF WDFQUEUE be manual?

I am pretty sure it is supported (a quick root enumerated driver would

tell you if you don’t want to muck w/your existing driver), but I think

the overhead of having a parallel top level queue and queueing to the

manual queue is not overhead at all, so I think either design would be

fine.

d

I’m not sure my reading the code and finding it isn’t prohibited is any better than Doron saying you can try it and see. Both are opinions of “allowed by the current implementation”.

My primary concern here being that Doron is one person I go to for info myself [he’s definitely the better expert], so I’m uncomfortable being cast as somehow more reliable…

OK, I’m sympathetic with your discomfort being cast as more authoritative
than Doron.

Could you all please take this as a request to formalize this as an
explicitly supported config?

Thanks,

Phil

Philip D. Barila

Seagate Technology LLC

(720) 684-1842


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Bob Kjelgaard


Sent: Tuesday, October 24, 2006 11:43 AM

To: “Windows System Software Devs Interest List”

Subject: RE: [ntdev] Can default KMDF WDFQUEUE be manual?

I’m not sure my reading the code and finding it isn’t prohibited is any
better than Doron saying you can try it and see. Both are opinions of
“allowed by the current implementation”.

My primary concern here being that Doron is one person I go to for info
myself [he’s definitely the better expert], so I’m uncomfortable being cast
as somehow more reliable…



Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Sure, will do

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@seagate.com
Sent: Tuesday, October 24, 2006 10:54 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Can default KMDF WDFQUEUE be manual?

OK, I’m sympathetic with your discomfort being cast as more
authoritative
than Doron.

Could you all please take this as a request to formalize this as an
explicitly supported config?

Thanks,

Phil

Philip D. Barila

Seagate Technology LLC

(720) 684-1842


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Bob Kjelgaard


Sent: Tuesday, October 24, 2006 11:43 AM

To: “Windows System Software Devs Interest List”

Subject: RE: [ntdev] Can default KMDF WDFQUEUE be manual?

I’m not sure my reading the code and finding it isn’t prohibited is any
better than Doron saying you can try it and see. Both are opinions of
“allowed by the current implementation”.

My primary concern here being that Doron is one person I go to for info
myself [he’s definitely the better expert], so I’m uncomfortable being
cast
as somehow more reliable…



Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Open mouth, insert foot :).

Yes, this is definitely a supported configuration and always has been. I believe we were just hedging a bit because neither of us has explicitly done it, and the king of queues wasn’t in the office yet:).

If you find otherwise, I will definitely be interested in knowing about it (I’m sure same goes for Doron- no need to ask him).