Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1FNtme-0003D1-GI for user-mode-linux-devel@lists.sourceforge.net; Mon, 27 Mar 2006 07:37:32 -0800 Received: from saraswathi.solana.com ([198.99.130.12]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1FNtmd-0002XE-Im for user-mode-linux-devel@lists.sourceforge.net; Mon, 27 Mar 2006 07:37:32 -0800 From: Jeff Dike Subject: Re: [uml-devel] Integer overflows in new AIO ubd driver Message-ID: <20060327153832.GB3666@ccure.user-mode-linux.org> References: <1143398965.11224.146.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1143398965.11224.146.camel@localhost.localdomain> Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 27 Mar 2006 10:38:32 -0500 To: Gerd Stolpmann Cc: user-mode-linux-devel@lists.sourceforge.net On Sun, Mar 26, 2006 at 08:49:25PM +0200, Gerd Stolpmann wrote: > I recently tried to benchmark the new AIO-based ubd driver (including > O_DIRECT), and ran into serious problems with filesystems > 4GB. I think > I found the problem; two overflows in ubd_kern.c (see patch). The first bit looks reasonable. I would change start to an unsigned long long instead of casting, though. > I also experienced (hard) lockups when doing lots of I/O. But this seems > to be unrelated to this problem (but who knows). What was your workload? Jeff ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel