xfs
[Top] [All Lists]

[Bug 284] Log reservation runs out with bonnie++

To: xfs-master@xxxxxxxxxxx
Subject: [Bug 284] Log reservation runs out with bonnie++
From: bugzilla-daemon@xxxxxxxxxxx
Date: Mon, 26 Jan 2004 15:08:55 -0800
Sender: linux-xfs-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=284





------- Additional Comments From nathans@xxxxxxx  2004-26-01 15:08 PDT -------
> Now I created 500M loop device with xfs. I mounted it without additional 
> options
> (I think "ikeep" is default.)

Thats correct.

> But now bonnie ended with error:
> # /tmp/bonnie++-1.02c/bonnie++ -d /mnt/mnt2/test -u 0:0 -s 0 -n 500
> Using uid:0, gid:0.

Hmmm - I ran this on the weekend on a regular disk, and no errors.
Do you only see this on loopback or on other devices too?

Unfortunately bonnie++ is not telling us the real error code here:

> Create files in sequential order...Can't create file 0511995sgY3t723y2

Could you build bonnie++ with this patch and let me know the extra
output?  That'll give us a better hint as to where things are going
wrong at least.

--- bon_file.cpp.orig   2004-01-27 09:51:43.709224000 +1100
+++ bon_file.cpp        2004-01-27 09:52:40.221394000 +1100
@@ -6,6 +6,7 @@
 #else
 #include <dirent.h>
 #include <unistd.h>
+#include <errno.h>
 #endif
 #include <string.h>
 #include <stdlib.h>
@@ -167,7 +168,7 @@
 #endif
   if(fd == -1)
   {
-    fprintf(stderr, "Can't create file %s\n", filename);
+    fprintf(stderr, "Can't create file %s: %s\n", filename, strerror(errno));
     return -1;
   }
   if(m_max)




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>