Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262268AbVC2KUs (ORCPT ); Tue, 29 Mar 2005 05:20:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262285AbVC2KUr (ORCPT ); Tue, 29 Mar 2005 05:20:47 -0500 Received: from ns.virtualhost.dk ([195.184.98.160]:56247 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id S262284AbVC2KT5 (ORCPT ); Tue, 29 Mar 2005 05:19:57 -0500 Date: Tue, 29 Mar 2005 12:19:47 +0200 From: Jens Axboe To: Arjan van de Ven Cc: Nick Piggin , "Chen, Kenneth W" , linux-kernel@vger.kernel.org Subject: Re: [patch] use cheaper elv_queue_empty when unplug a device Message-ID: <20050329101947.GL16636@suse.de> References: <200503290253.j2T2rqg25691@unix-os.sc.intel.com> <20050329080646.GE16636@suse.de> <42491DBE.6020303@yahoo.com.au> <1112091026.6282.43.camel@laptopd505.fenrus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1112091026.6282.43.camel@laptopd505.fenrus.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1030 Lines: 25 On Tue, Mar 29 2005, Arjan van de Ven wrote: > On Tue, 2005-03-29 at 19:19 +1000, Nick Piggin wrote: > > - removes the relock/retry merge mechanism in __make_request if we > > aren't able to get the GFP_ATOMIC allocation. Just fall through > > and assume the chances of getting a merge will be small (is this > > a valid assumption? Should measure it I guess). > > this may have a potential problem; if the vm gets in trouble, you > suddenly start to generate worse IO patterns, which means IO performance > goes down right when it's most needed..... > > of course we need to figure if this actually ever hits in practice, > because if it doesn't I'm all for simpler code. Precisely, see my response as well. If the noretry flag works, that should be fine. -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/