blobcli: add bstype to blobstore info
Change-Id: Ib4fe119d42db943fd5b7f52836358a01cb4bc03f Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/383639 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
5b9f0ddc53
commit
b3781b227b
@ -360,6 +360,7 @@ static void
|
||||
show_bs_cb(void *arg1, spdk_blob_id blobid, int bserrno)
|
||||
{
|
||||
struct cli_context_t *cli_context = arg1;
|
||||
struct spdk_bs_type bstype;
|
||||
uint64_t val;
|
||||
struct spdk_bdev *bdev = NULL;
|
||||
|
||||
@ -396,6 +397,9 @@ show_bs_cb(void *arg1, spdk_blob_id blobid, int bserrno)
|
||||
val = spdk_bs_free_cluster_count(cli_context->bs);
|
||||
printf("\t# free clusters: %" PRIu64 "\n", val);
|
||||
|
||||
bstype = spdk_bs_get_bstype(cli_context->bs);
|
||||
spdk_trace_dump(stdout, "\tblobstore type:", &bstype, sizeof(bstype));
|
||||
|
||||
/*
|
||||
* Private info isn't accessible via the public API but
|
||||
* may be useful for debug of blobstore based applications.
|
||||
|
Loading…
Reference in New Issue
Block a user