From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261451AbVGXWRQ (ORCPT ); Sun, 24 Jul 2005 18:17:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261481AbVGXWRP (ORCPT ); Sun, 24 Jul 2005 18:17:15 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:10423 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S261451AbVGXWRI (ORCPT ); Sun, 24 Jul 2005 18:17:08 -0400 Date: Sun, 24 Jul 2005 23:17:02 +0100 From: Christoph Hellwig To: Suparna Bhattacharya Cc: linux-aio@kvack.org, linux-kernel@vger.kernel.org, bcrl@kvack.org, wli@holomorphy.com, zab@zabbo.net, mason@suse.com Subject: Re: [PATCH 2/6] Rename __lock_page to lock_page_slow Message-ID: <20050724221702.GA9620@infradead.org> Mail-Followup-To: Christoph Hellwig , Suparna Bhattacharya , linux-aio@kvack.org, linux-kernel@vger.kernel.org, bcrl@kvack.org, wli@holomorphy.com, zab@zabbo.net, mason@suse.com References: <20050620120154.GA4810@in.ibm.com> <20050620160126.GA5271@in.ibm.com> <20050620162404.GB5380@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050620162404.GB5380@in.ibm.com> User-Agent: Mutt/1.4.2.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 20, 2005 at 09:54:04PM +0530, Suparna Bhattacharya wrote: > In order to allow for interruptible and asynchronous versions of > lock_page in conjunction with the wait_on_bit changes, we need to > define low-level lock page routines which take an additional > argument, i.e a wait queue entry and may return non-zero status, > e.g -EINTR, -EIOCBRETRY, -EWOULDBLOCK etc. This patch renames > __lock_page to lock_page_slow, so that __lock_page and > __lock_page_slow can denote the versions which take a wait queue > parameter. How many users that don't use a waitqueue parameter will be left once all AIO patches go in?