mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <oliver@zipernowsky.hu>
To: linux-kernel@vger.kernel.org
Subject: Re: [OP] v2.6.22.22-op2-rc1
Date: Thu, 01 May 2008 17:51:12 +0200	[thread overview]
Message-ID: <226b005fb03d548d31b4c941ec376866@zipernowsky.hu> (raw)
In-Reply-To: <14a96e5f5f50a2822b7b2a223ad3288f@zipernowsky.hu>

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

and the forgotted patch:
---


[-- Attachment #2: patch-v2.6.22.22-op1-v2.6.22.22-op2-rc1 --]
[-- Type: text/plain, Size: 696 bytes --]

diff --git a/Makefile b/Makefile
index 7200160..7b7a66c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 22
-EXTRAVERSION = .22-op1
+EXTRAVERSION = .22-op2-rc1
 NAME = Holy Dancing Manatees, Batman!
 
 # *DOCUMENTATION*
diff --git a/fs/aio.c b/fs/aio.c
index b3419c5..e683b91 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -1171,7 +1171,12 @@ retry:
 			ret = 0;
 			if (to.timed_out)	/* Only check after read evt */
 				break;
-			io_schedule();
+			/* Try to only show up in io wait if there are ops
+			 *  in flight */
+			if (ctx->reqs_active)
+				io_schedule();
+			else
+				schedule();
 			if (signal_pending(tsk)) {
 				ret = -EINTR;
 				break;

      reply	other threads:[~2008-05-01 15:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-01 15:42 oliver
2008-05-01 15:51 ` oliver [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=226b005fb03d548d31b4c941ec376866@zipernowsky.hu \
    --to=oliver@zipernowsky.hu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oliver.pntr@gmail.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

all inboxes | Powered by JetHome®