public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Lachlan McIlroy <lmcilroy@redhat.com>
To: Eric Sandeen <sandeen@sandeen.net>
Cc: xfs@oss.sgi.com
Subject: Re: Oops at xfs_bmbt_get_startoff in SLES 10 2.6.16
Date: Tue, 21 Apr 2009 23:06:56 -0400 (EDT)	[thread overview]
Message-ID: <811197347.242901240369616266.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> (raw)
In-Reply-To: <1416563271.242851240369384712.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>

----- "Eric Sandeen" <sandeen@sandeen.net> wrote:

> Felix Blyakher wrote:
> > On Apr 21, 2009, at 9:32 PM, Eric Sandeen wrote:
> > 
> >> Felix Blyakher wrote:
> >>> On Apr 21, 2009, at 9:16 PM, Eric Sandeen wrote:
> >>>
> >>>> Kevin Jamieson wrote:
> >>>>> On Thu, March 12, 2009 4:13 pm, Kevin Jamieson wrote:
> >>>>>> On Thu, March 12, 2009 12:23 pm, Eric Sandeen wrote:
> >>>>>>
> >>>>>>> For SLES that usually is the best route...
> >>>>>>>
> >>>>>>> However,
> http://oss.sgi.com/archives/xfs/2009-02/msg00220.html
> >>>>>>> looks
> >>>>>>> applicable... don't think it ever got merged though.
> >>>>>>>
> >>>>>>> perhaps you could test it?
> >>>>>> Thanks, Eric. I will test Lachlan's patch on our system.
> >>>>> To follow this up, since applying the patch from the above
> thread
> >>>>> there
> >>>>> have been no re-occurrences of the issue on our test servers
> over
> >>>>> the past
> >>>>> month.
> >>>> And you hit it pretty reliably before, right?  Sounds like we
> need  
> >>>> to
> >>>> give that a pretty strong eyeball and get it merged, perhaps.
> >>> I was looking at this patch too.
> >>> But I could never reproduce the problem, even with Lachlan's test
> >>> program. Kevin, any idea what kind of io load triggered this
> problem?
> >>> The patch looks right, but I really want to prove the problem
> >>> exists, and the patch addresses it.
> >>>
> >>> Felix
> >>>
> >> FWIW I can't reproduce either, with the stated commandline.
> >>
> >> Should try it with a 1k blocksize, though - maybe Lachlan tested 4k
> on
> >> 16k page ia64?
> > 
> > That's what I've tested on.
> 
> Ah, well, I just spoke with Lachlan and he said he tested on x86_64,
> 4k/4k.  So hrm...
You'll probably need to tweak the arguments to the test program to
generate the precise senario to trigger the race.  I remember having
to play around with them until I got it to crash reliably.  It will
depend on how fast your CPUs are, how much of the file is cached before
it is paged to disk, how fast the disks are, etc...

The race requires a thread to be executing xfs_file_last_byte() while
another thread is modifying the file's extent map - in particular
shrinking the extent map by merging extents.

> 
> -Eric
> 
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

       reply	other threads:[~2009-04-22  3:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1416563271.242851240369384712.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-04-22  3:06 ` Lachlan McIlroy [this message]
2009-04-23  9:47   ` Oops at xfs_bmbt_get_startoff in SLES 10 2.6.16 Christoph Hellwig
2009-04-24  2:43     ` Lachlan McIlroy
2009-03-12 18:50 Kevin Jamieson
2009-03-12 19:23 ` Eric Sandeen
2009-03-12 23:13   ` Kevin Jamieson
2009-04-22  0:54     ` Kevin Jamieson
2009-04-22  2:16       ` Eric Sandeen
2009-04-22  2:31         ` Felix Blyakher
2009-04-22  2:32           ` Eric Sandeen
2009-04-22  2:35             ` Felix Blyakher
2009-04-22  2:38               ` Eric Sandeen
2009-04-23  6:24           ` Kevin Jamieson
2009-04-23  6:18         ` Kevin Jamieson

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=811197347.242901240369616266.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com \
    --to=lmcilroy@redhat.com \
    --cc=sandeen@sandeen.net \
    --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