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

kv/MemDB: misc fixes and cleanups #10295

Merged
merged 5 commits into from Jul 19, 2016

Conversation

xiexingguo
Copy link
Member

No description provided.

MemDB.h has already done such thing.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Also translate the error message to the output properly.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Which is safer.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
1. mkdir() returns zero on success, or -1 if an error
   occurred (in which case, errno is set appropriately).
2. we shall return the proper error result to caller on failure.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
The string.clear() is stl method, which shall guarantee
the string will become empty. So this is absolutely
unnecessary.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@xiexingguo
Copy link
Member Author

@chhabaramesh Minor fixes about the newly merged MemDB, can you look? Thanks!

@chhabaramesh
Copy link
Contributor

@xiexingguo changes looks ok

@xiexingguo
Copy link
Member Author

@chhabaramesh Thanks, Ramesh.

@markhpc markhpc merged commit 472a5d8 into ceph:master Jul 19, 2016
@xiexingguo xiexingguo deleted the xxg-wip-bluestore-2016-07-14 branch July 19, 2016 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants