Message ID | 1519285625-196860-1-git-send-email-cgxu519@icloud.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
> > 在 2018年2月22日,下午3:47,Chengguang Xu <cgxu519@icloud.com> 写道: > > Some of message types are missing in ceph_msg_type_name(), > so just adding them for better understanding of output information. > > Signed-off-by: Chengguang Xu <cgxu519@icloud.com> > --- > net/ceph/ceph_common.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/net/ceph/ceph_common.c b/net/ceph/ceph_common.c > index 1e492ef..6a5cb30 100644 > --- a/net/ceph/ceph_common.c > +++ b/net/ceph/ceph_common.c > @@ -86,6 +86,11 @@ const char *ceph_msg_type_name(int type) > case CEPH_MSG_OSD_OPREPLY: return "osd_opreply"; > case CEPH_MSG_WATCH_NOTIFY: return "watch_notify"; > case CEPH_MSG_OSD_BACKOFF: return "osd_backoff"; > + case CEPH_MSG_POOLOP_REPLY: return "poolop_reply"; > + case CEPH_MSG_POOLOP: return "poolop"; > + case CEPH_MSG_MON_COMMAND: return "mon_command"; > + case CEPH_MSG_MON_COMMAND_ACK: return "mon_command_ack"; > + case CEPH_MSG_FS_MAP_USER: return "fs_map_user"; > default: return "unknown"; > } > } > -- > 1.8.3.1 > ping. Thanks, Chengguang. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, Mar 1, 2018 at 1:18 AM, Chengguang Xu <cgxu519@icloud.com> wrote: >> >> 在 2018年2月22日,下午3:47,Chengguang Xu <cgxu519@icloud.com> 写道: >> >> Some of message types are missing in ceph_msg_type_name(), >> so just adding them for better understanding of output information. >> >> Signed-off-by: Chengguang Xu <cgxu519@icloud.com> >> --- >> net/ceph/ceph_common.c | 5 +++++ >> 1 file changed, 5 insertions(+) >> >> diff --git a/net/ceph/ceph_common.c b/net/ceph/ceph_common.c >> index 1e492ef..6a5cb30 100644 >> --- a/net/ceph/ceph_common.c >> +++ b/net/ceph/ceph_common.c >> @@ -86,6 +86,11 @@ const char *ceph_msg_type_name(int type) >> case CEPH_MSG_OSD_OPREPLY: return "osd_opreply"; >> case CEPH_MSG_WATCH_NOTIFY: return "watch_notify"; >> case CEPH_MSG_OSD_BACKOFF: return "osd_backoff"; >> + case CEPH_MSG_POOLOP_REPLY: return "poolop_reply"; >> + case CEPH_MSG_POOLOP: return "poolop"; >> + case CEPH_MSG_MON_COMMAND: return "mon_command"; >> + case CEPH_MSG_MON_COMMAND_ACK: return "mon_command_ack"; >> + case CEPH_MSG_FS_MAP_USER: return "fs_map_user"; >> default: return "unknown"; >> } >> } >> -- >> 1.8.3.1 >> > > ping. Now applied. Thanks, Ilya -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/ceph/ceph_common.c b/net/ceph/ceph_common.c index 1e492ef..6a5cb30 100644 --- a/net/ceph/ceph_common.c +++ b/net/ceph/ceph_common.c @@ -86,6 +86,11 @@ const char *ceph_msg_type_name(int type) case CEPH_MSG_OSD_OPREPLY: return "osd_opreply"; case CEPH_MSG_WATCH_NOTIFY: return "watch_notify"; case CEPH_MSG_OSD_BACKOFF: return "osd_backoff"; + case CEPH_MSG_POOLOP_REPLY: return "poolop_reply"; + case CEPH_MSG_POOLOP: return "poolop"; + case CEPH_MSG_MON_COMMAND: return "mon_command"; + case CEPH_MSG_MON_COMMAND_ACK: return "mon_command_ack"; + case CEPH_MSG_FS_MAP_USER: return "fs_map_user"; default: return "unknown"; } }
Some of message types are missing in ceph_msg_type_name(), so just adding them for better understanding of output information. Signed-off-by: Chengguang Xu <cgxu519@icloud.com> --- net/ceph/ceph_common.c | 5 +++++ 1 file changed, 5 insertions(+)