Hi Ben, 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? Shahar ________________________________ From: SPDK on behalf of Walker, Benjamin Sent: Wednesday, January 31, 2018 6:48:28 PM To: spdk(a)lists.01.org 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 that it > 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 SPDK(a)lists.01.org https://lists.01.org/mailman/listinfo/spdk