From: Sage Weil Date: Tue, 16 Nov 2010 19:14:34 +0000 (-0800) Subject: ceph: add dir_layout to inode X-Git-Tag: v2.6.38-rc1~239^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c0f3af72cb1622a66962a1180c36ef8c41be8e2;p=pandora-kernel.git 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: Sage Weil --- Reading git-diff-tree failed