提交 54ae0756 编写于 作者: A Alex Elder 提交者: Sage Weil

libceph: no need for alignment for mds message

Currently, incoming mds messages never use page data, which means
there is no need to set the page_alignment field in the message.
Signed-off-by: NAlex Elder <elder@inktank.com>
Reviewed-by: NGreg Farnum <greg@inktank.com>
上级 53ded495
......@@ -3490,7 +3490,6 @@ static struct ceph_msg *mds_alloc_msg(struct ceph_connection *con,
type, front_len);
return NULL;
}
msg->page_alignment = (unsigned int) le16_to_cpu(hdr->data_off);
return msg;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册