From: Chandra Seetharaman <sekharan@us.ibm.com>
To: device-mapper development <dm-devel@redhat.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [dm-devel] [PATCH 2/3] scsi_dh: Remove the workqueue usedforactivate
Date: Thu, 07 May 2009 22:25:34 -0700 [thread overview]
Message-ID: <1241760334.17612.3.camel@chandra-ubuntu> (raw)
In-Reply-To: <4A03A278.2080105@cs.wisc.edu>
On Thu, 2009-05-07 at 22:09 -0500, Mike Christie wrote:
> Chandra Seetharaman wrote:
> > On Wed, 2009-05-06 at 22:32 -0500, Mike Christie wrote:
> >> Chandra Seetharaman wrote:
> >>> Since scsi_dh_activate() has become an asynchronous function,
> >>> we do not need a workqueue for submitting scsi_dh_activate().
> >>>
> >>> This patch just removes the workqueue that submits scsi_dh_activate().
> >>>
> >> Before this is merged, we need to convert the other device handlers to
> >> use blk_execute_rq_nowait or use their own workqueue_struct right?
> >
> > If we want those modules also behave async, then yes.
> >
> > But, this set of 3 patches would work fine as I made the relevant
> > changes to those modules so that they work properly.
> >
>
> What was the point of the workqueue?
>
> I think if you merged the patch and left the other modules as is you
> would hit a problem where the multipathd work queue struct thread is
> busy waiting on activate commands when it should be routing IO to paths
> that do not need a activate.
I am sorry for not being clear. As I mentioned in my original posting, I
am working on making the other modules also async. WIll be posting those
patches in a day or two. May be I will resubmit this set (with your
suggestion for GFP_NOIO) along with those.
In my reply (above), I was just trying to say that these set of patches
work (with the caveat you noted).
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
next prev parent reply other threads:[~2009-05-08 5:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-28 2:52 [PATCH 0/3] scsi_dh: Make scsi_dh_activate asynchronous Chandra Seetharaman
2009-04-28 2:52 ` [PATCH 1/3] scsi_dh: Change the scsidh_activate interface to be asynchronous Chandra Seetharaman
2009-04-29 21:11 ` Moger, Babu
2009-04-28 2:52 ` [PATCH 2/3] scsi_dh: Remove the workqueue used for activate Chandra Seetharaman
2009-04-29 21:12 ` Moger, Babu
2009-05-07 3:32 ` Mike Christie
2009-05-08 0:35 ` [PATCH 2/3] scsi_dh: Remove the workqueue used foractivate Chandra Seetharaman
2009-05-08 3:09 ` Mike Christie
2009-05-08 5:25 ` Chandra Seetharaman [this message]
2009-04-28 2:52 ` [PATCH 3/3] scsi_dh: rdac handler: Batch up MODE SELECTs and send few of them Chandra Seetharaman
2009-04-29 21:12 ` Moger, Babu
2009-05-07 3:39 ` Mike Christie
2009-05-08 0:36 ` [PATCH 3/3] scsi_dh: rdac handler: Batch up MODE SELECTsand " Chandra Seetharaman
2009-09-12 4:09 ` [dm-devel] " Shyam_Iyer
2009-09-14 19:25 ` Chandra Seetharaman
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=1241760334.17612.3.camel@chandra-ubuntu \
--to=sekharan@us.ibm.com \
--cc=dm-devel@redhat.com \
--cc=linux-scsi@vger.kernel.org \
--cc=sekharan@linux.vnet.ibm.com \
/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