Would you also like to take a look at the bdev_user module?
It still needs some patching (as some of the stuff is still hard coded), but I think we
can get most of it cleaned up in a couple of days.
In any case, is it the intention that the user write his own bdev module, or would this
user appliance glue be a useful generic module?
From: SPDK <spdk-bounces(a)lists.01.org> on behalf of Walker, Benjamin
Sent: Wednesday, January 31, 2018 6:48:28 PM
Subject: Re: [SPDK] SPDK + user space appliance
On Thu, 2018-01-25 at 14:19 +0000, Shahar Salzman wrote:
I am glad that this is your intention, the question is, do you think
would be useful to create such a bdev_user module which will allow other users
to integrate spdk to their appliance using such a simple threading model?
Perhaps such a module will allow easier integration of spdk.
I am attaching a reference application which is does NULL IO via bdev_user.
I spent some time reviewing the code you attached. I'll do a deep dive response
in the future, but several people in the community have been working to write a
guide to the bdev layer (including writing a bdev module), plus some better
examples. Before I do a big response, I want some of that documentation to get
posted and then we can use it as the basis for a discussion. I'm just writing
now to let you know that a response is coming!
SPDK mailing list