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

rbd: misc fixes #673

Merged
merged 3 commits into from
Sep 14, 2021
Merged

rbd: misc fixes #673

merged 3 commits into from
Sep 14, 2021

Conversation

lxbsz
Copy link
Collaborator

@lxbsz lxbsz commented Sep 6, 2021

No description provided.

@@ -216,8 +216,6 @@ static int tcmu_rbd_service_register(struct tcmu_device *dev)
}

ret = tcmu_rbd_report_event(dev);
if (ret < 0)
tcmu_dev_err(dev, "Could not update status. (Err %d)\n", ret);

Choose a reason for hiding this comment

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

Is this error message actually redundant in master? I think it was made redundant in #667 so this hunk doesn't belong in this PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This exists in master, there has already one error log in tcmu_rbd_report_event() --> tcmu_rbd_service_status_update().
Not introduced by #667, that PR just switched to use tcmu_rbd_service_status_update() directly.

Choose a reason for hiding this comment

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

I see, looks like I got confused there.

bool has_lock)
{
return 0;

Choose a reason for hiding this comment

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

Fix "rbd: rbd: ..." in the commit title for this change.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done. Thanks.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
@lxbsz
Copy link
Collaborator Author

lxbsz commented Sep 14, 2021

Merging it, thanks @idryomov

@lxbsz lxbsz merged commit 9f88a79 into open-iscsi:master Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants