summaryrefslogtreecommitdiffstats
path: root/fs/ceph/ceph_fs.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-11-07 06:55:25 +0100
committerSage Weil <sage@newdream.net>2009-11-07 06:55:25 +0100
commit1654dd0cf5ee1827322aca156af7d96d757201c7 (patch)
treeba71b1a1e214b929937f02a1794b3d32b8ff1342 /fs/ceph/ceph_fs.h
parentceph: use strong hash function for mapping objects to pgs (diff)
downloadlinux-1654dd0cf5ee1827322aca156af7d96d757201c7.tar.xz
linux-1654dd0cf5ee1827322aca156af7d96d757201c7.zip
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/ceph_fs.h')
-rw-r--r--fs/ceph/ceph_fs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ceph/ceph_fs.h b/fs/ceph/ceph_fs.h
index 25fc537f4140..36becb024788 100644
--- a/fs/ceph/ceph_fs.h
+++ b/fs/ceph/ceph_fs.h
@@ -49,8 +49,6 @@
#define CEPH_MAX_MON 31
-unsigned int ceph_full_name_hash(const char *name, unsigned int len);
-
/*
* ceph_file_layout - describe data layout for a file/inode