dbench cleanup bug
Steve French
smfrench at austin.rr.com
Wed Aug 8 00:04:47 GMT 2007
tridge at samba.org wrote:
>Steve,
>
> > Some of our testers noticed that dbench (even Tridge's most current
> > version)
>
>have you tried the most recent bzr version? Grab it here:
>
> bzr branch http://samba.org/~tridge/dbench
>
>it no longer uses system("rm -rf");
>
> > Any thoughts about whether dbench should be changed to sleep a few
> > seconds before the cleanup phase starts (or add an option to sleep a few
> > seconds- there already is an option to skip cleanup)?
>
>sleeping won't make any difference. We could add code to force the
>close of any open files before it starts cleanup, but sleeping will no
>nothing as each child process operates on its own directory, so a
>sleep won't change which files are open when they are deleted.
>
>Cheers, Tridge
>
>
>
>
Both Shirish and one of our testers has, and the newer version of dbench
from the download site (by the way, I like that version much better)
does not appear to make a difference for the open file - but adding a
wait before the client process deletes the files does.
More information about the samba-technical
mailing list