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-nbd: fix up return code handling #7215

Merged
merged 3 commits into from Jan 13, 2016
Merged

Conversation

trociny
Copy link
Contributor

@trociny trociny commented Jan 13, 2016

No description provided.

Mykola Golub added 3 commits January 13, 2016 13:07
On success aio_discard returns 0.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
- parent_wait() returns child exit status so test for "!= 0";
- do_map() is expected to return a negative value on failure.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
- cleanup on a test failure;
- minimize interference with other processes (tests) that are
  run concurrently;
- use xmlstarlet when parsing rbd output;
- add exit status test.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
@dillaman dillaman changed the title rbd-nbd: fixups rbd-nbd: fix up return code handling Jan 13, 2016
dillaman pushed a commit that referenced this pull request Jan 13, 2016
rbd-nbd: fix up return code handling

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
@dillaman dillaman merged commit 032675d into ceph:master Jan 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants