mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00: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:
parent
f49d1e058d
commit
0cabbd94ff
3 changed files with 8 additions and 4 deletions
|
@ -227,9 +227,10 @@ static void __schedule_delayed(struct ceph_mon_client *monc)
|
|||
}
|
||||
|
||||
const char *ceph_sub_str[] = {
|
||||
[CEPH_SUB_MDSMAP] = "mdsmap",
|
||||
[CEPH_SUB_MONMAP] = "monmap",
|
||||
[CEPH_SUB_OSDMAP] = "osdmap",
|
||||
[CEPH_SUB_FSMAP] = "fsmap.user",
|
||||
[CEPH_SUB_MDSMAP] = "mdsmap",
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -1193,6 +1194,7 @@ static struct ceph_msg *mon_alloc_msg(struct ceph_connection *con,
|
|||
case CEPH_MSG_MON_MAP:
|
||||
case CEPH_MSG_MDS_MAP:
|
||||
case CEPH_MSG_OSD_MAP:
|
||||
case CEPH_MSG_FS_MAP_USER:
|
||||
m = ceph_msg_new(type, front_len, GFP_NOFS, false);
|
||||
if (!m)
|
||||
return NULL; /* ENOMEM--return skip == 0 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue