From: David Woodhouse <dwmw2@infradead.org>
To: Jamie Lokier <jamie@shareable.org>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>,
Steve French <smfltc@us.ibm.com>,
linux-fsdevel@vger.kernel.org
Subject: Re: filesystem signal handling
Date: Thu, 29 Apr 2004 03:18:22 +0100 [thread overview]
Message-ID: <1083205102.4694.39.camel@localhost.localdomain> (raw)
In-Reply-To: <20040428192835.GA2836@mail.shareable.org>
On Wed, 2004-04-28 at 20:28 +0100, Jamie Lokier wrote:
> Trond Myklebust wrote:
> > As for SIGINT vs SIGKILL - the only difference I can see is that the
> > former can be generated directly from the keyboard.
>
> The other difference is that SIGINT can be intercepted by the
> application to do cleanups or whatever; SIGKILL cannot.
That was the difference I was thinking of -- since if they're not
_handled_, all three of the mentioned signals remain fatal and hence the
resulting behaviour is basically the same with either implementation.
(playing with the mask vs. allowing only fatal signals).
It's the case of a handled SIGINT during NFS operations which is
potentially different. If that happens when a read() or write() is
partially complete, what do we currently do? Is it really mandatory that
we do handle the signal immediately rather than upon completion of the
operation, or is this a corner case which nobody cares about?
But I wasn't necessarily suggesting that NFS should change its
behaviour, only offering a potential answer to the question which was
posed, which was presumably for CIFS not NFS.
--
dwmw2
next prev parent reply other threads:[~2004-04-29 2:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-27 16:20 filesystem behavior when low on memory and PF_MEMALLOC Steve French
2004-04-27 19:09 ` Bryan Henderson
2004-04-27 20:29 ` filesystem signal handling Steve French
2004-04-28 15:14 ` David Woodhouse
2004-04-28 17:05 ` Trond Myklebust
2004-04-28 17:14 ` David Woodhouse
2004-04-28 17:32 ` Trond Myklebust
2004-04-28 19:28 ` Jamie Lokier
2004-04-28 19:43 ` Trond Myklebust
2004-04-28 19:47 ` Jamie Lokier
2004-04-28 20:31 ` Trond Myklebust
2004-04-29 2:18 ` David Woodhouse [this message]
2004-04-29 2:53 ` Trond Myklebust
2004-04-29 6:41 ` David Woodhouse
2004-04-29 17:41 ` Bryan Henderson
2004-04-28 21:46 ` Bryan Henderson
2004-04-29 2:34 ` David Woodhouse
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=1083205102.4694.39.camel@localhost.localdomain \
--to=dwmw2@infradead.org \
--cc=jamie@shareable.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=smfltc@us.ibm.com \
--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;
as well as URLs for NNTP newsgroup(s).