From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946302AbXBIKMx (ORCPT ); Fri, 9 Feb 2007 05:12:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946299AbXBIKMw (ORCPT ); Fri, 9 Feb 2007 05:12:52 -0500 Received: from twin.jikos.cz ([213.151.79.26]:37815 "EHLO twin.jikos.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946302AbXBIKMu (ORCPT ); Fri, 9 Feb 2007 05:12:50 -0500 Date: Fri, 9 Feb 2007 11:11:52 +0100 (CET) From: Jiri Kosina To: "Ananiev, Leonid I" cc: suparna@in.ibm.com, Andrew Morton , linux-kernel@vger.kernel.org, linux-aio , Zach Brown , Chris Mason , Badari Pulavarty , Jan Kara Subject: RE: [PATCH] aio: fix kernel bug when page is temporally busy In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 9 Feb 2007, Ananiev, Leonid I wrote: > I have used EIOCBRETRY in the patch to minimize source code modification > only. It is notable that EIOCBRETRY is never set in kernel, but tested > only. There is indeed something strange in aio in 2.6.20 (and maybe older) - for example do_generic_mapping_read() gets stuck inside lock_page() in the situation when the page is not up-to-date, instead of returning properl error to aio_run_cb(). Or does it work in some other way and I get it wrong? -- Jiri Kosina