linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Stephen C. Tweedie" <sct@redhat.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Rik van Riel <riel@nl.linux.org>, Ingo Molnar <mingo@redhat.com>,
	Stephen Tweedie <sct@redhat.com>,
	linux-mm@kvack.org
Subject: Re: PATCH [2.4.0test10]: Kiobuf#04, buffer wakeup fix
Date: Thu, 2 Nov 2000 16:04:07 +0000	[thread overview]
Message-ID: <20001102160407.G1876@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 93 bytes --]

Hi,

Minor fix for kiobufs: add buffer_wait wakeups when we release
buffer_heads.

--Stephen

[-- Attachment #2: 04-wakeup.diff --]
[-- Type: text/plain, Size: 483 bytes --]

diff -ru linux-2.4.0-test10.kio.03/fs/buffer.c linux-2.4.0-test10.kio.04/fs/buffer.c
--- linux-2.4.0-test10.kio.03/fs/buffer.c	Thu Nov  2 12:08:54 2000
+++ linux-2.4.0-test10.kio.04/fs/buffer.c	Thu Nov  2 14:13:08 2000
@@ -1923,6 +1923,7 @@
 	}
 	
 	spin_unlock(&unused_list_lock);
+	wake_up(&buffer_wait);
 
 	if (!iosize)
 		return -EIO;
@@ -2068,6 +2069,7 @@
 		__put_unused_buffer_head(bh[i]);
 	}
 	spin_unlock(&unused_list_lock);
+	wake_up(&buffer_wait);
 	goto finished;
 }
 

                 reply	other threads:[~2000-11-02 16:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20001102160407.G1876@redhat.com \
    --to=sct@redhat.com \
    --cc=linux-mm@kvack.org \
    --cc=mingo@redhat.com \
    --cc=riel@nl.linux.org \
    --cc=torvalds@transmeta.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