* [OP] v2.6.22.22-op2-rc1
@ 2008-05-01 15:42 oliver
2008-05-01 15:51 ` oliver
0 siblings, 1 reply; 2+ messages in thread
From: oliver @ 2008-05-01 15:42 UTC (permalink / raw)
To: linux-kernel; +Cc: Jeff Moyer
linux v2.6.22.22-op2-rc1
"stable" review patch
what is this tree?
it is my long term supported kernel, when i have time for it, i
backported the most important fixes.
http://repo.or.cz/w/linux-2.6.22.y-op.git rc
http://repo.or.cz/w/linux-2.6.22.y-op-patches.git
---
Makefile | 2 +-
fs/aio.c | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
---
Jeff Moyer (1):
aio: only account I/O wait time in read_events if there are active
requests
Oliver Pinter (1):
v2.6.22.22-op2-rc1
---
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [OP] v2.6.22.22-op2-rc1
2008-05-01 15:42 [OP] v2.6.22.22-op2-rc1 oliver
@ 2008-05-01 15:51 ` oliver
0 siblings, 0 replies; 2+ messages in thread
From: oliver @ 2008-05-01 15:51 UTC (permalink / raw)
To: linux-kernel
[-- 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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-01 15:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-01 15:42 [OP] v2.6.22.22-op2-rc1 oliver
2008-05-01 15:51 ` oliver
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®