9 Commits

Author SHA1 Message Date
openeuler-ci-bot
7c527e84c6 !5 [sync] PR-4: filebench: fix coredump problem with dirwidth=1
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-09-16 06:36:33 +00:00
Zhiqiang Liu
5c222949b8 filebench: fix coredump problem with dirwidth=1
If we set dirwidth=1 when defining fileset, run
'filebench -f <wml-test>.f' will cause coredump.
Because we set fileset->fs_meandepth in fileset_populate() as follows,
$ fileset->fs_meandepth=log(entries+leafdirs)/log(meandirwidth).
where meandirwidth is equal to 1 as same with dirwidth in <wml-test>.f.
So fileset->fs_meandepth is set to inf, which will cause endless
recursion of fileset_populate_subdir(). Finally, coredump occurs.

Here, we will use a little bias (0.1) instead of log(1) when
meandirwidth is equal to 1.

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
(cherry picked from commit c417ede6131ab5209beff8e44bf5ec92f5acc26b)
2021-09-16 12:02:06 +08:00
openeuler-ci-bot
afe099d434 !3 Change setup to autosetup
From: @tjwangxm
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-07-24 01:56:53 +00:00
wangxiaomeng
46c075f3ab chang setup to autosetup 2021-07-07 10:24:12 +08:00
openeuler-ci-bot
517fa0760e !2 添加yaml文件
From: @nick-slg-kylin
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-07-06 08:25:54 +00:00
nick-slg-kylin
82a382fbda add yaml 2021-07-06 15:47:00 +08:00
openeuler-ci-bot
5a753e736c !1 初始化包
From: @nick-slg-kylin
Reviewed-by: 
Signed-off-by:
2021-07-02 00:58:45 +00:00
nick-slg-kylin
db657465da add README and tar
添加filebench.1
2021-06-30 17:05:38 +08:00
openeuler-ci-bot
e943cd79e3 Initial commit 2021-02-08 10:16:24 +08:00