summaryrefslogtreecommitdiff
path: root/fs/ceph/types.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-11-07 05:55:25 (GMT)
committerSage Weil <sage@newdream.net>2009-11-07 05:55:25 (GMT)
commit1654dd0cf5ee1827322aca156af7d96d757201c7 (patch)
treeba71b1a1e214b929937f02a1794b3d32b8ff1342 /fs/ceph/types.h
parentcfbbcd24a6bfd794295ee7ad76dfbff40ad6b934 (diff)
downloadlinux-fsl-qoriq-1654dd0cf5ee1827322aca156af7d96d757201c7.tar.xz
ceph: make object hash a pg_pool property
The object will be hashed to a placement seed (ps) based on the pg_pool's hash function. This allows new hashes to be introduced into an existing object store, or selection of a hash appropriate to the objects that will be stored in a particular pool. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/types.h')
-rw-r--r--fs/ceph/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/types.h b/fs/ceph/types.h
index 8a51456..28b35a0 100644
--- a/fs/ceph/types.h
+++ b/fs/ceph/types.h
@@ -9,6 +9,7 @@
#include "ceph_fs.h"
#include "ceph_frag.h"
+#include "ceph_hash.h"
/*
* Identify inodes by both their ino AND snapshot id (a u64).