ext4: Use a hash of the topdir directory name for the Orlov parent group
authorTheodore Ts'o <tytso@mit.edu>
Sat, 13 Jun 2009 15:09:42 +0000 (11:09 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 13 Jun 2009 15:09:42 +0000 (11:09 -0400)
commitf157a4aa98a18bd3817a72bea90d48494e2586e7
tree105547639a67296b4ea7acdc35c9e65ee2a85fd8
parent8a8a2050c844d9de224ff591e91bda3f77bd6eda
ext4: Use a hash of the topdir directory name for the Orlov parent group

Instead of using a random number to determine the goal parent grop for
the Orlov top directories, use a hash of the directory name.  This
allows for repeatable results when trying to benchmark filesystem
layout algorithms.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ialloc.c
fs/ext4/migrate.c
fs/ext4/namei.c