Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 8 Feb 2002 14:45:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 8 Feb 2002 14:45:15 -0500 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:44809 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Fri, 8 Feb 2002 14:44:58 -0500 Message-ID: <3C642A90.751BB750@zip.com.au> Date: Fri, 08 Feb 2002 11:44:16 -0800 From: Andrew Morton X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18-pre9 i686) X-Accept-Language: en MIME-Version: 1.0 To: Dieter =?iso-8859-1?Q?N=FCtzel?= CC: Jens Axboe , Ingo Molnar , Robert Love , Linux Kernel List Subject: Re: [patch] get_request starvation fix In-Reply-To: <200202081932.GAA05943@mangalore.zipworld.com.au> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Dieter N?tzel wrote: > > On Fri, Feb 08 2002, Andrew Morton wrote: > > Here's a patch which addresses the get_request starvation problem. > > [snip] > > > Also, you noted the other day that a LILO run *never* terminated when > > there was a dbench running. This is in fact not due to request > > starvation. It's due to livelock in invalidate_bdev(), which is called > > via ioctl(BLKFLSBUF) by LILO. invalidate_bdev() will never terminate > > as long as another task is generating locked buffers against the > > device. > [snip] > > Could this below related? > I get system looks through lilo (bzlilo) from time to time with all latest > kernels + O(1) + -aa + preempt > Depends what you mean by "system locks". The invalidate_bdev() problem won't lock the machine. Its symptoms are merely that the ioctl will not terminate until the process which is writing to disk stops. In other words: if you run dbench, then lilo, lilo will not complete until after dbench terminates. If you're seeing actual have-to-hit-reset lockups then that'll be due to something quite different. - - 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/