Skip to content
Commit 6c0f3af7 authored by Sage Weil's avatar Sage Weil
Browse files

ceph: add dir_layout to inode



Add a ceph_dir_layout to the inode, and calculate dentry hash values based
on the parent directory's specified dir_hash function.  This is needed
because the old default Linux dcache hash function is extremely week and
leads to a poor distribution of files among dir fragments.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 3c0eee3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment