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
librbd: small fixes for error messages and readahead counter #6983
Conversation
@@ -256,6 +256,7 @@ int validate_pool(IoCtx &io_ctx, CephContext *cct) { | |||
if (r < 0) { | |||
lderr(cct) << "failed to release self-managed snapshot " << snap_id | |||
<< ": " << cpp_strerror(r) << dendl; | |||
return r; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not returning the error result was intentional. There is no way to recover and delete the snapshot id ever again -- and the pool has already been changed to self-managed snapshot mode. Therefore, no need to abort the create request.
0d7a95e
to
ec5c070
Compare
Fixes: ceph#14127 Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
ec5c070
to
4a4048b
Compare
As equivalent size is ok for copy. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
It's more human-readable. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@xiexingguo you can ignore the bot failure at http://jenkins.ceph.dachary.org/job/ceph/LABELS=centos-7&&x86_64/10346/, it is a known false negative ( see http://tracker.ceph.com/issues/14092 for details). |
@dillaman Please take a look at this one too, which is fixed as just you suggested, thanks! |
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
librbd: small fixes for error messages and readahead counter Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Fix http://tracker.ceph.com/issues/14127
And improve some tip messages.
Signed-off-by: xie xingguo xie.xingguo@zte.com.cn