|
Linux Kernel
3.7.1
|
#include <linux/rbtree.h>#include <linux/ceph/types.h>#include <linux/ceph/ceph_fs.h>#include <linux/crush/crush.h>Go to the source code of this file.
Data Structures | |
| struct | ceph_pg_pool_info |
| struct | ceph_pg_mapping |
| struct | ceph_osdmap |
Macros | |
| #define | ceph_file_layout_su(l) ((__s32)le32_to_cpu((l).fl_stripe_unit)) |
| #define | ceph_file_layout_stripe_count(l) ((__s32)le32_to_cpu((l).fl_stripe_count)) |
| #define | ceph_file_layout_object_size(l) ((__s32)le32_to_cpu((l).fl_object_size)) |
| #define | ceph_file_layout_cas_hash(l) ((__s32)le32_to_cpu((l).fl_cas_hash)) |
| #define | ceph_file_layout_object_su(l) ((__s32)le32_to_cpu((l).fl_object_stripe_unit)) |
| #define | ceph_file_layout_pg_pool(l) ((__s32)le32_to_cpu((l).fl_pg_pool)) |
Functions | |
| char * | ceph_osdmap_state_str (char *str, int len, int state) |
| struct ceph_osdmap * | osdmap_decode (void **p, void *end) |
| struct ceph_osdmap * | osdmap_apply_incremental (void **p, void *end, struct ceph_osdmap *map, struct ceph_messenger *msgr) |
| void | ceph_osdmap_destroy (struct ceph_osdmap *map) |
| int | ceph_calc_file_object_mapping (struct ceph_file_layout *layout, u64 off, u64 *plen, u64 *bno, u64 *oxoff, u64 *oxlen) |
| int | ceph_calc_object_layout (struct ceph_object_layout *ol, const char *oid, struct ceph_file_layout *fl, struct ceph_osdmap *osdmap) |
| int | ceph_calc_pg_acting (struct ceph_osdmap *osdmap, struct ceph_pg pgid, int *acting) |
| int | ceph_calc_pg_primary (struct ceph_osdmap *osdmap, struct ceph_pg pgid) |
| int | ceph_pg_poolid_by_name (struct ceph_osdmap *map, const char *name) |
| #define ceph_file_layout_cas_hash | ( | l | ) | ((__s32)le32_to_cpu((l).fl_cas_hash)) |
| #define ceph_file_layout_object_size | ( | l | ) | ((__s32)le32_to_cpu((l).fl_object_size)) |
| #define ceph_file_layout_object_su | ( | l | ) | ((__s32)le32_to_cpu((l).fl_object_stripe_unit)) |
| #define ceph_file_layout_pg_pool | ( | l | ) | ((__s32)le32_to_cpu((l).fl_pg_pool)) |
| #define ceph_file_layout_stripe_count | ( | l | ) | ((__s32)le32_to_cpu((l).fl_stripe_count)) |
| #define ceph_file_layout_su | ( | l | ) | ((__s32)le32_to_cpu((l).fl_stripe_unit)) |
| int ceph_calc_object_layout | ( | struct ceph_object_layout * | ol, |
| const char * | oid, | ||
| struct ceph_file_layout * | fl, | ||
| struct ceph_osdmap * | osdmap | ||
| ) |
| int ceph_calc_pg_primary | ( | struct ceph_osdmap * | osdmap, |
| struct ceph_pg | pgid | ||
| ) |
| void ceph_osdmap_destroy | ( | struct ceph_osdmap * | map | ) |
| int ceph_pg_poolid_by_name | ( | struct ceph_osdmap * | map, |
| const char * | name | ||
| ) |
|
read |
1.8.2