You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
libceph: fsmap.user subscription support
Signed-off-by: Yan, Zheng <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
@@ -121,6 +121,7 @@ struct ceph_dir_layout {
|
||||
|
||||
/* client <-> mds */
|
||||
#define CEPH_MSG_MDS_MAP 21
|
||||
#define CEPH_MSG_FS_MAP_USER 103
|
||||
|
||||
#define CEPH_MSG_CLIENT_SESSION 22
|
||||
#define CEPH_MSG_CLIENT_RECONNECT 23
|
||||
|
||||
@@ -95,7 +95,7 @@ struct ceph_mon_client {
|
||||
struct ceph_mon_subscribe_item item;
|
||||
bool want;
|
||||
u32 have; /* epoch */
|
||||
} subs[3];
|
||||
} subs[4];
|
||||
int fs_cluster_id; /* "mdsmap.<id>" sub */
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
@@ -111,9 +111,10 @@ extern int ceph_monc_init(struct ceph_mon_client *monc, struct ceph_client *cl);
|
||||
extern void ceph_monc_stop(struct ceph_mon_client *monc);
|
||||
|
||||
enum {
|
||||
CEPH_SUB_MDSMAP = 0,
|
||||
CEPH_SUB_MONMAP,
|
||||
CEPH_SUB_MONMAP = 0,
|
||||
CEPH_SUB_OSDMAP,
|
||||
CEPH_SUB_FSMAP,
|
||||
CEPH_SUB_MDSMAP,
|
||||
};
|
||||
|
||||
extern const char *ceph_sub_str[];
|
||||
|
||||
Reference in New Issue
Block a user