mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: viro@parcelfarce.linux.theplanet.co.uk
To: Daniel McNeil <daniel@osdl.org>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>,
	Andy <genanr@emsphone.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] retry force umount (was Re: NFS and umount -f)
Date: Thu, 24 Jun 2004 00:47:12 +0100	[thread overview]
Message-ID: <20040623234712.GM12308@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <1088034175.2319.11.camel@ibm-c.pdx.osdl.net>

On Wed, Jun 23, 2004 at 04:42:55PM -0700, Daniel McNeil wrote:
> This works for me on 2.6.7 as well.  However, I would get EBUSY back
> if processes were hung doing nfs operations to the downed server.
> The processes would get unstuck and get EIO, but the umount would
> still fail.  Doing a 2nd umount -f with no processes waiting for
> the server would succeed.  This patch retries force umounts in
> the kernel an extra time after giving them time to wake up and
> get out of the kernel.  It doesn't seem quite right to fail
> a bunch of nfs operations and leave the file system mounted.

Is there any reason to do that in the kernel?  What, umount(8) can't do the
same?

  reply	other threads:[~2004-06-23 23:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-08 15:54 NFS and umount -f Andy
2004-06-08 15:59 ` Trond Myklebust
2004-06-09 12:15   ` raven
2004-06-23 23:42   ` [PATCH] retry force umount (was Re: NFS and umount -f) Daniel McNeil
2004-06-23 23:47     ` viro [this message]
2004-06-24  0:22       ` Daniel McNeil

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=20040623234712.GM12308@parcelfarce.linux.theplanet.co.uk \
    --to=viro@parcelfarce.linux.theplanet.co.uk \
    --cc=daniel@osdl.org \
    --cc=genanr@emsphone.com \
    --cc=linux-kernel@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®