public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Allan Haywood <Allan.Haywood@microsoft.com>
Cc: Dave Chinner <david@fromorbit.com>, "xfs@oss.sgi.com" <xfs@oss.sgi.com>
Subject: Re: xfs file system corruption
Date: Wed, 08 Oct 2008 02:15:29 +0200	[thread overview]
Message-ID: <87r66skkm6.fsf@basil.nowhere.org> (raw)
In-Reply-To: <E8DED08235A93F4D8A2AB6CD0ABAB32A0A937FC922@NA-EXMSG-C121.redmond.corp.microsoft.com> (Allan Haywood's message of "Tue, 7 Oct 2008 16:49:40 -0700")

Allan Haywood <Allan.Haywood@microsoft.com> writes:
>
>         Would reloading the xfs module work also, to clear any pending
>         writes (if I could get it to a point where modprobe -r xfs
>         would work)? Although I am doubting that if there are pending
>         writes that it would be easy to get xfs to unload.

Linux doesn't have IO cancel and it's hard to stop everything
in the IO stack, so the usual way is to fence it at a high level
and then wait for all pending IO. But that might take a long time.

That is why most HA setups use hard stonith, as in power switch.

-Andi
-- 
ak@linux.intel.com

      parent reply	other threads:[~2008-10-08  0:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-07 23:18 xfs file system corruption Allan Haywood
2008-10-07 23:34 ` Dave Chinner
2008-10-07 23:49   ` Allan Haywood
2008-10-07 23:58     ` Allan Haywood
2008-10-08  0:12       ` Dave Chinner
2008-10-08  0:15     ` Andi Kleen [this message]

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=87r66skkm6.fsf@basil.nowhere.org \
    --to=andi@firstfloor.org \
    --cc=Allan.Haywood@microsoft.com \
    --cc=david@fromorbit.com \
    --cc=xfs@oss.sgi.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