We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I did simple smoke test for our CI and found that ublk del --all always exits with a failure (exitcode=237).
ublk del --all
Looking at the code I think this is the casue:
cmd_dev_del iterates over MAX_NR_UBLK_DEVS number of devices:
cmd_dev_del
MAX_NR_UBLK_DEVS
for (i = 0; i < MAX_NR_UBLK_DEVS; i++) ret = __cmd_dev_del(i, true);
-19
The text was updated successfully, but these errors were encountered:
Fixed in bac8d72 ("ublksrv_tgt: don't return error if trying to delete unexisted device").
Thanks for the report.
Sorry, something went wrong.
Thanks!
No branches or pull requests
I did simple smoke test for our CI and found that
ublk del --all
always exits with a failure (exitcode=237).Looking at the code I think this is the casue:
cmd_dev_del
iterates overMAX_NR_UBLK_DEVS
number of devices:-19
(that becomes exitcode 237).The text was updated successfully, but these errors were encountered: