Skip to content

Commit

Permalink
fill all directories at the same time
Browse files Browse the repository at this point in the history
  • Loading branch information
kofemann committed May 9, 2014
1 parent 2153556 commit 6abc354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mdbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ def make_dirs(root, count):
os.mkdir( gen_dir(root, i) )

def make_files(root, dir_count, file_count, size = 0):
for i in range(dir_count):
for j in range(file_count):
for j in range(file_count):
for i in range(dir_count):
mkfile(gen_file( gen_dir(root, i), j ), size, 1024)

def del_files(root, dir_count, file_count):
Expand Down

0 comments on commit 6abc354

Please sign in to comment.