From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761111AbYEAO44 (ORCPT ); Thu, 1 May 2008 10:56:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755881AbYEAO4r (ORCPT ); Thu, 1 May 2008 10:56:47 -0400 Received: from fg-out-1718.google.com ([72.14.220.157]:16709 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755093AbYEAO4q (ORCPT ); Thu, 1 May 2008 10:56:46 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tOFCagr55BLXiCTcG0L6nvqpDO5FjIAsm4oh24CPi96MDHPlwigmK3hz9NVfHkuXs9JsysQM4MoT3MhiZcgH4s9CeeKAMUAaAVzA0q1NSlKIPXws5OTEQO5H33ZvEq/CywTIMFEdMycwLOY8k9ORAZBOGC/ND15jJUREH9Oq0r0= Message-ID: <6101e8c40805010756m3a2418f8qde57458481b014a2@mail.gmail.com> Date: Thu, 1 May 2008 16:56:41 +0200 From: "Oliver Pinter" To: "Jeff Moyer" Subject: Re: [OP] v2.6.22.22-op1 Cc: linux-kernel@vger.kernel.org, "Adrian Bunk" , "Andrew Morton" , "Badari Pulavarty" , "Benjamin LaHaise" , "Chris Wright" , "Davide Libenzi" , "David S. Miller" , "Grant Grundler" , "Hugh Dickins" , "James Morris" , "Jan Kara" , "Jeff Garzik" , "Jeff Roberson" , "Jens Axboe" , "Johann Felix Soden" , "Linus Torvalds" , "Nick Piggin" , "Patrick McHardy" , "Robert Love" , "Stephen Smalley" , "Suparna Bhattacharya" , "Willy Tarreau" , "Yan Zheng" , "Zach Brown" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jeff! thanks, then fixed it On 5/1/08, Jeff Moyer wrote: > writes: > > > I announced the v2.6.22.22-op1 "stable" kernel. > > > fs/aio.c | 23 ++++++++++++----------- > > > Jeff Moyer (1): > > aio: account I/O wait time properly > > This version of the patch introduced a regression for UML. It was > seeing 100% iowait time when it wasn't waiting on any I/O. There was a > follow-up patch which did the io_schedule conditionally, see commit id: > > e00ba3dae077f54cfd2af42e939a618caa7a3bca > > Cheers, > > Jeff > > > diff --git a/fs/aio.c b/fs/aio.c > > index dbe699e..b3419c5 100644 > > --- a/fs/aio.c > > +++ b/fs/aio.c > > @@ -1170,7 +1171,7 @@ retry: > > ret = 0; > > if (to.timed_out) /* Only check after read evt */ > > break; > > - schedule(); > > + io_schedule(); > > if (signal_pending(tsk)) { > > ret = -EINTR; > > break; > -- Thanks, Oliver