From: Oleg Nesterov <oleg@redhat.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Joseph Salisbury <joseph.salisbury@canonical.com>,
Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>,
James Bottomley <JBottomley@parallels.com>,
Nagalakshmi.Nandigama@lsi.com, Sreekanth.Reddy@lsi.com,
David Rientjes <rientjes@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
Tejun Heo <tj@kernel.org>, Thomas Gleixner <tglx@linutronix.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>,
Linux SCSI List <linux-scsi@vger.kernel.org>,
Tomas Henzl <thenzl@redhat.com>
Subject: Re: please fix FUSION (Was: [v3.13][v3.14][Regression] kthread:makekthread_create()killable)
Date: Fri, 21 Mar 2014 21:31:20 +0100 [thread overview]
Message-ID: <20140321203120.GA9397@redhat.com> (raw)
In-Reply-To: <CA+55aFx8=AszAeeJnSXnOsJKUhx3JjGJko1XiOKYWWRWiUE+SQ@mail.gmail.com>
On 03/21, Linus Torvalds wrote:
>
> On Fri, Mar 21, 2014 at 11:34 AM, Oleg Nesterov <oleg@redhat.com> wrote:
> >
> > Yes, it seems that it actually needs > 30 secs. It spends most of the time
> > (30.13286 seconds) in [..]
>
> So how about taking a completely different approach:
Due to the lack of knowledge I can not comment (or even actually
understand) your suggestion.
But it probably falls into the "right fix" category, iow "THE FIX
FROM MAINTAINERS" the temporary sigprocmask() hack should wait for.
I can't implement this by the same reason. And of course I won't
insist that we need some really stupid (and wrong) solution until
someone who understand makes the initialization asynchronous.
> - just say that waiting for devices in the module init sequence for
> over 30 seconds is really really wrong.
>
> - make the damn mptsas driver just register the controller from the
> init sequence, and then do device discovery asynchronously.
>
> The ATA layer does this correctly: it synchronously finds each host,
> but then it does
>
> /* perform each probe asynchronously */
> for (i = 0; i < host->n_ports; i++) {
> struct ata_port *ap = host->ports[i];
> async_schedule(async_port_probe, ap);
> }
>
> and I really think SCSI drivers should do the same if they have this
> kind of "ports can take forever to probe" behavior.
>
> What would be the equivalent magic to do this for SCSI? Could we just
> make something like scsi_probe_and_add_lun() just always do this, the
> same way ata_host_register() does it?
>
> Linus
next prev parent reply other threads:[~2014-03-21 20:32 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-14 20:46 [v3.13][v3.14][Regression] kthread: make kthread_create() killable Joseph Salisbury
2014-03-15 0:43 ` Tetsuo Handa
2014-03-16 15:13 ` Tetsuo Handa
2014-03-16 16:25 ` Oleg Nesterov
2014-03-17 12:38 ` [v3.13][v3.14][Regression] kthread: make kthread_create()killable Tetsuo Handa
2014-03-17 14:22 ` Oleg Nesterov
2014-03-18 12:03 ` [v3.13][v3.14][Regression] kthread: makekthread_create()killable Tetsuo Handa
2014-03-18 17:16 ` Oleg Nesterov
2014-03-19 11:49 ` [v3.13][v3.14][Regression] kthread:makekthread_create()killable Tetsuo Handa
2014-03-19 16:13 ` Joseph Salisbury
2014-03-19 17:52 ` Oleg Nesterov
2014-03-19 18:29 ` please fix FUSION (Was: [v3.13][v3.14][Regression] kthread:makekthread_create()killable) Oleg Nesterov
2014-03-19 19:42 ` Oleg Nesterov
2014-03-19 21:04 ` Joseph Salisbury
2014-03-20 16:46 ` Joseph Salisbury
2014-03-20 19:23 ` Oleg Nesterov
2014-03-21 18:34 ` Oleg Nesterov
2014-03-21 19:32 ` Linus Torvalds
2014-03-21 20:31 ` Oleg Nesterov [this message]
2014-03-21 22:56 ` James Bottomley
2014-03-22 6:25 ` please fix FUSION (Was: [v3.13][v3.14][Regression]kthread:makekthread_create()killable) Tetsuo Handa
2014-03-22 19:25 ` Oleg Nesterov
2014-03-22 20:48 ` James Bottomley
2014-03-24 17:01 ` Oleg Nesterov
2014-03-22 21:25 ` Thomas Gleixner
2014-03-22 22:01 ` Thomas Gleixner
2014-03-22 23:57 ` please fix FUSION (Was:[v3.13][v3.14][Regression]kthread:makekthread_create()killable) Tetsuo Handa
2014-03-23 8:04 ` Thomas Gleixner
2014-03-23 14:19 ` James Bottomley
2014-03-23 14:28 ` Thomas Gleixner
2014-03-23 14:29 ` James Bottomley
2014-03-22 23:50 ` Tetsuo Handa
2014-03-17 20:02 ` [v3.13][v3.14][Regression] kthread: make kthread_create() killable Andrew Morton
2014-03-17 20:19 ` Oleg Nesterov
2014-03-17 20:39 ` Andrew Morton
2014-03-18 17:45 ` Oleg Nesterov
2014-06-03 13:03 ` [PATCH] kthread: Fix return value of kthread_create() upon SIGKILL Tetsuo Handa
2014-06-03 21:35 ` David Rientjes
2014-03-17 21:32 ` [v3.13][v3.14][Regression] kthread: make kthread_create()killable Tetsuo Handa
2014-03-17 23:18 ` [v3.13][v3.14][Regression] kthread: make kthread_create() killable One Thousand Gnomes
2014-03-18 17:50 ` Oleg Nesterov
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=20140321203120.GA9397@redhat.com \
--to=oleg@redhat.com \
--cc=JBottomley@parallels.com \
--cc=Nagalakshmi.Nandigama@lsi.com \
--cc=Sreekanth.Reddy@lsi.com \
--cc=akpm@linux-foundation.org \
--cc=joseph.salisbury@canonical.com \
--cc=kernel-team@lists.ubuntu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=penguin-kernel@i-love.sakura.ne.jp \
--cc=rientjes@google.com \
--cc=tglx@linutronix.de \
--cc=thenzl@redhat.com \
--cc=tj@kernel.org \
--cc=torvalds@linux-foundation.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
Powered by JetHome