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!