blobcli: update some print messages to provide more info
Change-Id: Iaeeff8216784e8f09dc172d6d258c057dc1db37d Signed-off-by: Paul Luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/382903 Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
parent
d4e565b41b
commit
e9a50eb8cc
@ -603,7 +603,7 @@ read_dump_cb(void *arg1, int bserrno)
|
|||||||
NUM_PAGES, read_dump_cb, cli_context);
|
NUM_PAGES, read_dump_cb, cli_context);
|
||||||
} else {
|
} else {
|
||||||
/* done reading */
|
/* done reading */
|
||||||
printf("\nFile write complete.\n");
|
printf("\nFile write complete (to %s).\n", cli_context->file);
|
||||||
fclose(cli_context->fp);
|
fclose(cli_context->fp);
|
||||||
spdk_bs_md_close_blob(&cli_context->blob, close_cb,
|
spdk_bs_md_close_blob(&cli_context->blob, close_cb,
|
||||||
cli_context);
|
cli_context);
|
||||||
@ -652,7 +652,7 @@ write_imp_cb(void *arg1, int bserrno)
|
|||||||
NUM_PAGES, write_imp_cb, cli_context);
|
NUM_PAGES, write_imp_cb, cli_context);
|
||||||
} else {
|
} else {
|
||||||
/* done writing */
|
/* done writing */
|
||||||
printf("\nBlob import complete.\n");
|
printf("\nBlob import complete (from %s).\n", cli_context->file);
|
||||||
fclose(cli_context->fp);
|
fclose(cli_context->fp);
|
||||||
spdk_bs_md_close_blob(&cli_context->blob, close_cb, cli_context);
|
spdk_bs_md_close_blob(&cli_context->blob, close_cb, cli_context);
|
||||||
}
|
}
|
||||||
@ -743,7 +743,7 @@ write_cb(void *arg1, int bserrno)
|
|||||||
NUM_PAGES, write_cb, cli_context);
|
NUM_PAGES, write_cb, cli_context);
|
||||||
} else {
|
} else {
|
||||||
/* done writing */
|
/* done writing */
|
||||||
printf("\nBlob fill complete.\n");
|
printf("\nBlob fill complete (with 0x%x).\n", cli_context->fill_value);
|
||||||
spdk_bs_md_close_blob(&cli_context->blob, close_cb,
|
spdk_bs_md_close_blob(&cli_context->blob, close_cb,
|
||||||
cli_context);
|
cli_context);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user