Re: [uml-devel] Integer overflows in new AIO ubd driver

2006-05-08 Thread Jeff Dike
On Wed, Mar 29, 2006 at 11:16:27PM +0200, Gerd Stolpmann wrote: > Almost: > > iozone -i 0 -i 1 -r 64k -s 5G -e -f /Data/testfile -U /Data > > i.e. record size is 64K, and there is a umount/mount between the > runs. /Data is an ext3 filesystem with 4k block size, on a 20 G > partition. > > > And

Re: [uml-devel] Integer overflows in new AIO ubd driver

2006-03-30 Thread Jeff Dike
On Wed, Mar 29, 2006 at 11:16:27PM +0200, Gerd Stolpmann wrote: > Almost: > > iozone -i 0 -i 1 -r 64k -s 5G -e -f /Data/testfile -U /Data > > i.e. record size is 64K, and there is a umount/mount between the > runs. /Data is an ext3 filesystem with 4k block size, on a 20 G > partition. OK, this d

Re: [uml-devel] Integer overflows in new AIO ubd driver

2006-03-29 Thread Gerd Stolpmann
Am Mittwoch, den 29.03.2006, 14:33 -0500 schrieb Jeff Dike: > On Mon, Mar 27, 2006 at 05:47:31PM +0200, Gerd Stolpmann wrote: > > I used iozone in various ways. The simplest workload leading to problems > > was: > > > > - Write a 5GB file > > - Write it again > > - Read it back > > - Read it back

Re: [uml-devel] Integer overflows in new AIO ubd driver

2006-03-29 Thread Jeff Dike
On Mon, Mar 27, 2006 at 05:47:31PM +0200, Gerd Stolpmann wrote: > I used iozone in various ways. The simplest workload leading to problems > was: > > - Write a 5GB file > - Write it again > - Read it back > - Read it back > > This benchmark ran fine the first time I started it. When I started it

Re: [uml-devel] Integer overflows in new AIO ubd driver

2006-03-27 Thread Gerd Stolpmann
Am Montag, den 27.03.2006, 10:38 -0500 schrieb Jeff Dike: > 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;

Re: [uml-devel] Integer overflows in new AIO ubd driver

2006-03-27 Thread Jeff Dike
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 rea

[uml-devel] Integer overflows in new AIO ubd driver

2006-03-26 Thread Gerd Stolpmann
Hi, 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). My test system was 2.6.16 plus all patches from user-mode-linux.sf.net minus no_cow_odir