From: Jeff D. <jd...@ka...> - 2000-11-27 02:27:33
|
phi...@in... said: > Have you tried running dbench? I just did. > For me, this messes ext2 up seriously on uml (2.4.0-test10 host/ > guest). What happens with you? dbench gave me a flood of error messages. I ^C'd it, halted, did e2fsck -f on the filesystem and that turned up a few inconsistencies. It looks like my block driver needs some looking at. Jeff |
From: Jeff D. <jd...@ka...> - 2000-11-27 19:30:40
|
I finally got a clean run of dbench after I gave it a 500M filesystem of its own. The errors I was getting from it were caused by it running out of room. The forced fsck afterwards found inconsistencies. I ran it again with the block driver doing synchronous I/O and the filesystem was clean afterwards. So, it looks like there's a race or something in the block driver. Jeff |
From: Daniel P. <phi...@in...> - 2000-11-27 20:41:40
|
On Mon, 27 Nov 2000, Jeff Dike wrote: > I finally got a clean run of dbench after I gave it a 500M filesystem of its > own. The errors I was getting from it were caused by it running out of room. > > The forced fsck afterwards found inconsistencies. I ran it again with the > block driver doing synchronous I/O and the filesystem was clean afterwards. > > So, it looks like there's a race or something in the block driver. Of course, it could also be a race in -test11... -- Daniel |
From: Jeff D. <jd...@ka...> - 2000-11-28 05:54:58
|
phi...@in... said: > Of course, it could also be a race in -test11... I don't think so. The fact that the problem goes away when the driver is run synchronously points the finger at my code. Jeff |
From: Jeff D. <jd...@ka...> - 2000-11-28 15:40:42
|
The latest CVS includes the "ubd=sync" option, which makes the block driver do sychronous I/O. When you put this switch on the command line, the driver puts this out on the console: ubd : Synchronous mode It also happens to be somewhat faster than doing asynchronous I/O. This lets uml run dbench without messing up the filesystem, so this ought to let you bang on it. Also "debug=go" is in there. Jeff |
From: Daniel P. <phi...@in...> - 2000-11-28 16:33:57
|
On Tue, 28 Nov 2000, Jeff Dike wrote: > The latest CVS includes the "ubd=sync" option, which makes the block driver do > sychronous I/O. When you put this switch on the command line, the driver puts > this out on the console: > ubd : Synchronous mode > > It also happens to be somewhat faster than doing asynchronous I/O. > > This lets uml run dbench without messing up the filesystem, so this ought to > let you bang on it. > > Also "debug=go" is in there. :-) -- Daniel |