public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: Christoph Hellwig <hch@infradead.org>,
	Stephen Tweedie <sct@redhat.com>,
	Marcelo Tosatti <marcelo@conectiva.com.br>,
	linux-kernel@vger.kernel.org
Subject: Re: [Patch 1/2] 2.4.20-pre4/ext3: Handle dirty buffers encountered unexpectedly.
Date: Fri, 23 Aug 2002 11:10:58 +0100	[thread overview]
Message-ID: <20020823111058.E2801@redhat.com> (raw)
In-Reply-To: <20020823105933.A12435@infradead.org>; from hch@infradead.org on Fri, Aug 23, 2002 at 10:59:33AM +0100

Hi,

On Fri, Aug 23, 2002 at 10:59:33AM +0100, Christoph Hellwig wrote:

> Btw, is the following patch still aimed for inclusion?
 
> --- linux/fs/buffer.c.~1~	Fri Apr 12 17:59:09 2002
> +++ linux/fs/buffer.c	Sat Apr 13 21:09:36 2002
>  	/* Stage 3: start the IO */
> -	for (i = 0; i < nr; i++)
> -		submit_bh(READ, arr[i]);
> -
> +	for (i = 0; i < nr; i++) {
> +		struct buffer_head * bh = arr[i];
> +		if (buffer_uptodate(bh))
> +			end_buffer_io_async(bh, 1);
> +		else
> +			submit_bh(READ, bh);
> +	}
> +	

Yes, it's in my next batch.

--Stephen

      reply	other threads:[~2002-08-23 10:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-22 23:19 [Patch 1/2] 2.4.20-pre4/ext3: Handle dirty buffers encountered unexpectedly Stephen Tweedie
2002-08-23  9:59 ` Christoph Hellwig
2002-08-23 10:10   ` Stephen C. Tweedie [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=20020823111058.E2801@redhat.com \
    --to=sct@redhat.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /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