linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mingming Cao <cmm@us.ibm.com>
To: "Stephen C. Tweedie" <sct@redhat.com>
Cc: Andrew Morton <akpm@osdl.org>,
	Badari Pulavarty <pbadari@us.ibm.com>,
	linux-fsdevel@vger.kernel.org, Mingming Cao <mcao@us.ibm.com>
Subject: Re: kjournald() with DIO
Date: Wed, 21 Sep 2005 11:22:14 -0700	[thread overview]
Message-ID: <1127326934.3925.12.camel@localhost.localdomain> (raw)
In-Reply-To: <1126878128.4486.13.camel@sisko.sctweedie.blueyonder.co.uk>

On Fri, 2005-09-16 at 14:42 +0100, Stephen C. Tweedie wrote: 
> Hi,
> 
> On Tue, 2005-09-13 at 01:29, Andrew Morton wrote:
> 
> > Have you spoken with Mingming about this?  She's chasing a similar race. 
> > She's currently working on getting the ext3-debug patch working so we can
> > find out how those buffers (which apparently aren't even attached to the
> > journal) came to have an elevated refcount.
> 
> Here's the latest version of ext3 buffer tracing which I've been using. 
> It's basically just the same as one from Andrew from about 2.6.5
> vintage, with a few changes in places to deal with new bits of code that
> need temporary buffer_heads initialised properly for tracing.
> 
> It has survived a couple of hours of fsx and fsstress in parallel, but I
> haven't run any O_DIRECT tests with it on the current git kernel, so
> there may stil be problems in that area.

Your patch works smoothly running iozone DIO tests overnight.  It also
successfully shows the last 32 activities history of the busy buffer
which caused the EIO failure here, and the results matches what the
previous analysis.

A minor improvement, to translate BJ_Locked state into a proper string.

Signed-off-by: Mingming Cao cmm@us.ibm.com
---

 linux-2.6.5-7.191-cmm/fs/jbd-kernel.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN fs/jbd-kernel.c~buffer-trace-fix fs/jbd-kernel.c
--- linux-2.6.5-7.191/fs/jbd-kernel.c~buffer-trace-fix	2005-09-19 15:48:03.000000000 -0700
+++ linux-2.6.5-7.191-cmm/fs/jbd-kernel.c	2005-09-19 15:50:16.000000000 -0700
@@ -163,6 +163,7 @@ static const char *b_jlist_to_string(uns
 	case BJ_Shadow:		return "BJ_Shadow";
 	case BJ_LogCtl:		return "BJ_LogCtl";
 	case BJ_Reserved:	return "BJ_Reserved";
+	case BJ_Locked:		return "BJ_Locked";
 #endif
 	default:		return "Bad b_jlist";
 	}

_



      reply	other threads:[~2005-09-21 18:22 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-12 23:23 kjournald() with DIO Badari Pulavarty
2005-09-12 23:37 ` Andrew Morton
2005-09-13  0:06   ` Badari Pulavarty
2005-09-13  0:29     ` Andrew Morton
2005-09-13 16:52       ` Badari Pulavarty
2005-09-13 23:07         ` Andrew Morton
2005-09-14 17:23           ` Mingming Cao
2005-09-14 18:18             ` Andrew Morton
2005-09-14 21:40               ` Mingming Cao
2005-09-14 22:02                 ` Andrew Morton
2005-09-15 11:11                   ` Suparna Bhattacharya
2005-09-15 18:52                     ` Andrew Morton
2005-09-15 15:03                   ` Badari Pulavarty
2005-09-15 19:22                     ` Andrea Arcangeli
2005-09-15 20:00                       ` Andrew Morton
2005-09-15 20:20                         ` Andrea Arcangeli
2005-09-15 20:35                           ` Andrew Morton
2005-09-15 20:49                             ` Badari Pulavarty
2005-09-15 21:06                               ` Andrea Arcangeli
2005-09-15 21:20                               ` Andrew Morton
2005-09-15 22:22                                 ` Badari Pulavarty
2005-09-15 21:03                             ` Andrea Arcangeli
2005-09-15 21:26                               ` Andrew Morton
2005-09-15 22:04                                 ` Andrea Arcangeli
2005-09-15 23:28                                   ` Mingming Cao
2005-09-16  0:18                                     ` Andrea Arcangeli
2005-09-13 17:53       ` Mingming Cao
2005-09-16 13:42       ` Stephen C. Tweedie
2005-09-21 18:22         ` Mingming Cao [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=1127326934.3925.12.camel@localhost.localdomain \
    --to=cmm@us.ibm.com \
    --cc=akpm@osdl.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=mcao@us.ibm.com \
    --cc=pbadari@us.ibm.com \
    --cc=sct@redhat.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;
as well as URLs for NNTP newsgroup(s).