public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: "Ngo, Andrew" <andrew.ngo@lmco.com>
Cc: xfs@oss.sgi.com, "Johnson, Je" <je.johnson@lmco.com>
Subject: Re: Stale XFS mount for Kernel 2.6.25.14
Date: Mon, 13 Oct 2008 14:59:39 +1100	[thread overview]
Message-ID: <20081013035939.GB10716@disturbed> (raw)
In-Reply-To: <8604545CB7815D419F5FF108D3E434BA3BD626@emss04m05.us.lmco.com>

On Sun, Oct 12, 2008 at 10:10:54PM -0400, Ngo, Andrew wrote:
> Hi,  
>  
> This is my first attempt to report a stale mount problem.  If this is
> not the relevant mail list, please let me know.  I suspect that my
> problem is xfs related, thus I select this mailing list.
>  
> I have a system that recently upgraded it's kernel to 2.6.25.14.  The
> system's previous kernel was 2.6.18.-8.el5.  With the previous kernel, I
> have no problem with executing the following commands when the system is
> in operation.  Note that the /mnt/mountpoint is mounted on a XFS file
> system.
>  
> mount -o rw,remount /mnt/mountpoint
> mount -o ro,remount /mnt/mountpoint
>  
> With kernel 2.6.25.14, however, the mount command may be hang when
> changing from rw to ro.  When this happen, system is very sluggish.

That's because the remount,ro is actually flushing all the dirty
data to disk in 2.6.25. There is also a check to catch when the
remount,ro fails to clean everything that is dirty - that's probably
what is triggering. Do you have an oops in the dmesg log when
mount hangs?

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

  reply	other threads:[~2008-10-13  4:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-13  2:10 Stale XFS mount for Kernel 2.6.25.14 Ngo, Andrew
2008-10-13  3:59 ` Dave Chinner [this message]
2008-10-13 12:06   ` Ngo, Andrew
2008-10-14  2:04     ` Ngo, Andrew
2008-10-14  2:15       ` Dave Chinner
2008-10-14  3:40         ` Ngo, Andrew
2008-10-14  5:53           ` Dave Chinner
2008-10-14 21:54             ` Ngo, Andrew
     [not found] <8604545CB7815D419F5FF108D3E434BA017C6427@emss04m05.us.lmco.com>
     [not found] ` <20081020230802.GA18495@disturbed>
2008-11-03 20:49   ` Ngo, Andrew
2008-11-04  6:05     ` Dave Chinner
2009-01-14 23:50       ` Ngo, Andrew
2009-01-15  8:50         ` Dave Chinner

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=20081013035939.GB10716@disturbed \
    --to=david@fromorbit.com \
    --cc=andrew.ngo@lmco.com \
    --cc=je.johnson@lmco.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