+ aio-change-schedule-to-io_schedule-in-aio-read_events.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     aio: change schedule to io_schedule in aio read_events
has been added to the -mm tree.  Its filename is
     aio-change-schedule-to-io_schedule-in-aio-read_events.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: aio: change schedule to io_schedule in aio read_events
From: Jeff Moyer <jmoyer@xxxxxxxxxx>

Account time as I/O wait when scheduling in the sys_io_getevents path.

Cc: Zach Brown <zab@xxxxxxxxx>
Cc: Benjamin LaHaise <bcrl@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/aio.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/aio.c~aio-change-schedule-to-io_schedule-in-aio-read_events fs/aio.c
--- a/fs/aio.c~aio-change-schedule-to-io_schedule-in-aio-read_events
+++ a/fs/aio.c
@@ -1182,7 +1182,7 @@ retry:
 			ret = 0;
 			if (to.timed_out)	/* Only check after read evt */
 				break;
-			schedule();
+			io_schedule();
 			if (signal_pending(tsk)) {
 				ret = -EINTR;
 				break;
_

Patches currently in -mm which might be from jmoyer@xxxxxxxxxx are

aio-change-schedule-to-io_schedule-in-aio-read_events.patch
aio-use-prepare_to_wait.patch
dio-centralize-completion-in-dio_complete.patch
dio-call-blk_run_address_space-once-per-op.patch
dio-formalize-bio-counters-as-a-dio-reference-count.patch
dio-remove-duplicate-bio-wait-code.patch
dio-only-call-aio_complete-after-returning-eiocbqueued.patch
dio-lock-refcount-operations.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux