I got past the issue. The issue was blob store block size (4K) was mismatched with the
nvme device (512b). Once I converted correctly, everything worked.
Sent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------From: "Walker, Benjamin"
<benjamin.walker(a)intel.com> Date: 6/30/17 9:13 AM (GMT-08:00) To:
spdk(a)lists.01.org Subject: Re: [SPDK] Blob store
On Thu, 2017-06-15 at 09:16 -0700, tejasgole wrote:
Hi,
Is there any example code for blob store to use nvme device directly without
the block dev layer?
If not, is there even a document on the order in which APIs need to be invoked
to set this up correctly?
The way I have it setup, spdk_bs_init () followed by spdk_bs_md_create_blob ()
both succeed, but spdk_bs_md_open_blob () spins forever.
It keeps issuing reads to lba=3.
I haven't written an example for how to do this yet. Are you able to test the
blob store using the bdev layer like in the rest of the examples for now? I
think that will be a lot more straightforward, but if there are concerns about
the bdev layer I'd love to understand what those are.
Thanks
_______________________________________________
SPDK mailing list
SPDK(a)lists.01.org
https://lists.01.org/mailman/listinfo/spdk