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>
Showing
- fs/ceph/Makefile 1 addition, 1 deletionfs/ceph/Makefile
- fs/ceph/README 2 additions, 0 deletionsfs/ceph/README
- fs/ceph/ceph_fs.c 0 additions, 77 deletionsfs/ceph/ceph_fs.c
- fs/ceph/ceph_fs.h 0 additions, 2 deletionsfs/ceph/ceph_fs.h
- fs/ceph/ceph_hash.c 118 additions, 0 deletionsfs/ceph/ceph_hash.c
- fs/ceph/ceph_hash.h 13 additions, 0 deletionsfs/ceph/ceph_hash.h
- fs/ceph/osdmap.c 1 addition, 1 deletionfs/ceph/osdmap.c
- fs/ceph/rados.h 1 addition, 0 deletionsfs/ceph/rados.h
- fs/ceph/types.h 1 addition, 0 deletionsfs/ceph/types.h
Loading
Please register or sign in to comment