From: Matthew Wilcox <matthew@wil.cx>
To: Liam Howlett <howlett@gmail.com>
Cc: linux-kernel@vger.kernel.org, neilb@suse.de,
trond.myklebust@fys.uio.no, bfields@fieldses.org
Subject: Re: NFS Killable tasks request comments on patch
Date: Thu, 6 Dec 2007 10:34:26 -0700 [thread overview]
Message-ID: <20071206173426.GC15868@parisc-linux.org> (raw)
In-Reply-To: <20071204212543.GA6907@solidsnake>
On Tue, Dec 04, 2007 at 04:25:43PM -0500, Liam Howlett wrote:
> This patch removes the rpc sigmask code and changes the
> out_of_line_wait_on_bit and wait_on_bit calls in the sched.c file to
> use TASK_KILLABLE. The result of this patch is the ability to kill
> commands issued to a dead NFS mount by the normal ctrl+c method. I am
I've done a more thorough review of Liam's work and come up with a few
more fixes (which I'll publish later today), but more importantly, a
list of questions for the NFS/RPC people:
1. __nfs_revalidate_inode - with an error return from nfs_wait_on_inode(),
shouldn't we go to out_nowait()?
2. nfs4_set_lock_task_retry - shouldn't we honour the fatal signal, and,
say, set the timeout to MAXTIMEOUT?
3. Can we make nfs use rpc_wait_bit_killable()? I think there's two places
that exact function is duplicated.
4. Can we remove the 'action' parameter from
__rpc_wait_for_completion_task()? It's always NULL.
5. Should xprt_rdma_free be using wait_event_killable?
Ditto rpcrdma_ep_connect and rpcrdma_ep_disconnect
I think we're going to find a lot of places where attention hasn't been
paid to the 'intr' case. It's always been a wart, so I'm unsurprised it
doesn't get much testing.
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
next prev parent reply other threads:[~2007-12-06 17:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-04 21:25 NFS Killable tasks request comments on patch Liam Howlett
2007-12-04 22:43 ` Matthew Wilcox
2007-12-06 17:34 ` Matthew Wilcox [this message]
2007-12-06 23:00 ` 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=20071206173426.GC15868@parisc-linux.org \
--to=matthew@wil.cx \
--cc=bfields@fieldses.org \
--cc=howlett@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
--cc=trond.myklebust@fys.uio.no \
/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