On 2018/6/18 19:12, Christoph Hellwig wrote:
On Sun, Jun 17, 2018 at 12:40:56PM +0800, Zhu Lingshan wrote:
Hello Mike and Christoph,
Thanks Mike's comment inspired me, if I understand this correctly, it is
suggested to implement this whole solution in kernel, avoid
splitting PRG handling in both kernel and userspace, make it not that
complex. I can try to implement this by sending OSD requests
from kernel side, then we don't need tcmu-runner supporting is, no need to
use netlink to exchange information with userspace, pure kernel code, seems
much more simple. Do you think this may be better?
Yes. And SuSE actually ships such a backend (originally writen by
Mike), although it would still need some work to get into shape.
Thanks, I will work on that.
Thanks,
BR
Zhu Lingshan