From: Andrew Vasquez <andrew.vasquez@qlogic.com>
To: James.Smart@Emulex.Com
Cc: linux-scsi@vger.kernel.org
Subject: Re: [RFC] adding per scsi-host workqueues for defered processing
Date: Mon, 7 Mar 2005 23:00:10 -0800 [thread overview]
Message-ID: <20050308070010.GE5141@plap.qlogic.org> (raw)
In-Reply-To: <0B1E13B586976742A7599D71A6AC733C12ECDC@xbl3.ma.emulex.com>
On Sat, 05 Mar 2005, James.Smart@Emulex.Com wrote:
> In thinking this through a little further - if the workq is just
> for the transport, the transport ought to simply create and use
> the workq. There would be no need to modify the host structure.
>
> If we're trying to avoid the potential for several workq's on a
> per-host basis (one by the transport, another by the LLDD, another
> for ?) - the idea of one in the host is worth while.
>
Yes, that was the general idea -- reduce the number of worker-threads
contending for the same shost resource. In also thinking a bit more
about this subject, I wonder if there are truly many other (useful)
purposes for a generic 'deferred' work_q at the shost level, other
than for scanning.
There were some background tasks I shelved until the remote-ports
stuff settled down which I thought could use the deferred processing
thread:
* Initiate LIP -- several customers have asked for this ability as
several topological configurations isolate disruptive FC events.
* Initiate LLDD rescan (i.e. ports (fibre channel), devices (iSCSI),
etc.)
I had originally envisioned these functions residing in the transport.
>
> However, it
> should always be allocated and available. No "create" flag should
> be needed.
>
Not to sure about that -- a large percentage of drivers would not
(currently) benefit from having a deferred work_q created for each
shost instance it registered.
--
AV
next prev parent reply other threads:[~2005-03-08 6:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-05 17:30 [RFC] adding per scsi-host workqueues for defered processing James.Smart
2005-03-08 7:00 ` Andrew Vasquez [this message]
2005-03-08 13:11 ` Luben Tuikov
-- strict thread matches above, loose matches on Subject: below --
2005-03-09 5:19 James.Smart
2005-03-09 7:38 ` Andrew Vasquez
2005-03-09 14:25 ` Brian King
2005-03-05 13:07 James.Smart
2005-03-08 7:10 ` Andrew Vasquez
2005-02-22 4:08 James.Smart
2005-02-22 0:09 Andrew Vasquez
2005-02-22 1:05 ` Matthew Wilcox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050308070010.GE5141@plap.qlogic.org \
--to=andrew.vasquez@qlogic.com \
--cc=James.Smart@Emulex.Com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox