From: Salah Coronya <salah.coronya@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: NFS hang + umount -f: better behaviour requested.
Date: Tue, 21 Aug 2007 01:51:58 +0000 (UTC) [thread overview]
Message-ID: <loom.20070821T034654-315@post.gmane.org> (raw)
In-Reply-To: 20070820233414.GM3956@digitalkingdom.org
Robin Lee Powell <rlpowell <at> digitalkingdom.org> writes:
> > Though I agree that it would be nice if we could convince all
> > subsequent requests to a server to fail EIO instead of just the
> > currently active ones. I'm not sure that just changing "umount
> > -f" is the right interface though.... Maybe if all the server
> > handles appeared in sysfs and have an attribute which you could
> > set to cause all requests to fail...
>
> I have no opinion on interface details, I simply know that on
> Solaris, "umount -f" Just Works, and I would love to have similar
> behaviour on Linux.
>
> -Robin
>
What you are looing is revoke()/frevokeat(); which will yank the file right from
under the descriptor. Its currently in -mm. Of course "mount" will still need to
iterate over each open file on the mount and revoke it.
next prev parent reply other threads:[~2007-08-21 1:55 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-20 22:54 NFS hang + umount -f: better behaviour requested Robin Lee Powell
2007-08-20 23:27 ` Neil Brown
2007-08-20 23:34 ` Robin Lee Powell
2007-08-21 1:51 ` Salah Coronya [this message]
2007-08-21 16:43 ` John Stoffel
2007-08-21 16:55 ` J. Bruce Fields
2007-08-21 17:01 ` Peter Staubach
2007-08-21 17:14 ` Chakri n
2007-08-21 17:14 ` Robin Lee Powell
2007-08-21 17:18 ` Peter Staubach
2007-08-21 18:50 ` John Stoffel
2007-08-21 19:04 ` Peter Staubach
2007-08-21 19:25 ` J. Bruce Fields
2007-08-24 15:09 ` Ric Wheeler
2007-08-24 15:37 ` Peter Staubach
2007-08-24 15:53 ` J. Bruce Fields
2007-08-21 23:04 ` Valdis.Kletnieks
2007-08-22 10:03 ` Theodore Tso
2007-08-22 15:26 ` John Stoffel
2007-08-31 8:06 ` Ian Kent
2007-08-31 15:10 ` Valdis.Kletnieks
2007-08-31 15:30 ` Ian Kent
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=loom.20070821T034654-315@post.gmane.org \
--to=salah.coronya@gmail.com \
--cc=linux-kernel@vger.kernel.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