Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osd: fix dpdk memzon mz_name setting issue #19809

Merged
merged 1 commit into from Jan 9, 2018

Conversation

liu-chunmei
Copy link
Contributor

Signed-off-by: chunmei Liu chunmei.liu@intel.com

@liu-chunmei
Copy link
Contributor Author

@tchaikov thanks for your correction. It passed my compile and test, but after saw your comment I used gdb to check, the mz_name format is not right, so correct it.
@yuyuyu101 the last patch is merged, so open a new PR to correct it. Add_qid in memzon name for multi async op threads

@@ -498,7 +498,7 @@ bool DPDKQueuePair::init_rx_mbuf_pool()

int bufs_count = cct->_conf->ms_dpdk_rx_buffer_count_per_core - mbufs_per_queue_rx;
int mz_flags = RTE_MEMZONE_1GB|RTE_MEMZONE_SIZE_HINT_ONLY;
char mz_name[RTE_MEMZONE_NAMESIZE];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you move the definition of mz_name close to where it is used?

Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
@liu-chunmei
Copy link
Contributor Author

@tchaikov updated patch. please review.

@tchaikov tchaikov merged commit 877cd68 into ceph:master Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants