From: NeilBrown <neilb@suse.de>
To: Christoph Hellwig <hch@infradead.org>
Cc: Trond Myklebust <trond.myklebust@primarydata.com>,
NFS <linux-nfs@vger.kernel.org>, Tejun Heo <tj@kernel.org>
Subject: Re: [PATCH/RFC] NFS: state manager thread must start running.
Date: Tue, 15 Jul 2014 18:13:17 +1000 [thread overview]
Message-ID: <20140715181317.2de14c51@notabene.brown> (raw)
In-Reply-To: <20140715074942.GA6166@infradead.org>
[-- Attachment #1: Type: text/plain, Size: 882 bytes --]
On Tue, 15 Jul 2014 00:49:42 -0700 Christoph Hellwig <hch@infradead.org>
wrote:
> On Tue, Jul 15, 2014 at 04:39:42PM +1000, NeilBrown wrote:
> > I suggested in an earlier email that it might be possible to use a
> > work-queue for this. I concluded that it wasn't a good idea.
> > If a server was down, the manager cold block indefinitely.
> > If memory was tight and only one workqueue thread was active,
> > this would block other NFS mounts.
>
> So allocate one workqueue per mount?
Could do that (or per-client) but it doesn't really buy us anything does it?
The state manager assumes it is single threads, so it would need to be
a single-threaded workqueue with always at least one thread running.
That is much the same as a kthread.
And then there is that fact that the current code explicitly enabled SIGKILL
and maybe that is important.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2014-07-15 8:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-15 6:39 [PATCH/RFC] NFS: state manager thread must start running NeilBrown
2014-07-15 7:49 ` Christoph Hellwig
2014-07-15 8:13 ` NeilBrown [this message]
2014-07-15 14:51 ` Tejun Heo
2014-07-21 3:35 ` NeilBrown
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=20140715181317.2de14c51@notabene.brown \
--to=neilb@suse.de \
--cc=hch@infradead.org \
--cc=linux-nfs@vger.kernel.org \
--cc=tj@kernel.org \
--cc=trond.myklebust@primarydata.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