mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
libceph: support for subscribing to "mdsmap.<id>" maps
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
7cca78c9dc
commit
737cc81ead
4 changed files with 17 additions and 5 deletions
|
|
@ -208,6 +208,8 @@ struct ceph_mon_subscribe_ack {
|
|||
struct ceph_fsid fsid;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#define CEPH_FS_CLUSTER_ID_NONE -1
|
||||
|
||||
/*
|
||||
* mdsmap flags
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ struct ceph_mon_client {
|
|||
bool want;
|
||||
u32 have; /* epoch */
|
||||
} subs[3];
|
||||
int fs_cluster_id; /* "mdsmap.<id>" sub */
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
struct dentry *debugfs_file;
|
||||
|
|
|
|||
Loading…
Reference in a new issue