Add dm-userspace to the Xen kernel
I think dm-userspace is great, but I don't think it belongs in patches/. To quote Chris W.:
"Good things there are bits that are ready to go upstream or fixes to base Linux that are transient by version (backport of a fix that's in the -rc for the next kernel or somesuch)."
Until this ends up in -mm, I really don't think we should add this to the -xen tree as it has no dependence on Xen. We should be good members of the kernel community here and go through the normal channels. At any rate, I would think that you would want it to be useful first before adding it which means bringing in all of the tools into the tree.
If a user already has to fetch a bunch of tools and compile from source, adding an additional patch to the Xen build isn't so bad.
Regards,
Anthony Liguori
Dan Smith wrote:
Quoted 5 lines · Anthony Liguori
I think dm-userspace is great, but I don't think it belongs in patches/. To quote Chris W.:
"Good things there are bits that are ready to go upstream or fixes to base Linux that are transient by version (backport of a fix that's in the -rc for the next kernel or somesuch)."
Until this ends up in -mm, I really don't think we should add this to the -xen tree as it has no dependence on Xen. We should be good members of the kernel community here and go through the normal channels. At any rate, I would think that you would want it to be useful first before adding it which means bringing in all of the tools into the tree.
It won't be useful in the kernel unless there are actual consumers, of which Xen could/might be one. Having a use case flesh out problems and get the performance and design architecture examined in detail will be useful to the Linux maintainers - they get something more robust and better designed, although it's certainly not Xen's obligation to provide that, per se. I'm just seeing the possibility of mutual benefit, here.
That said, I believe since the patch is in the device-mapper tree for review, there is a good chance it will go into kernel in any case.
thanks,
Nivedita
Quoted 16 lines · Nivedita Singhvi
Quoted 5 lines · Anthony Liguori
I think dm-userspace is great, but I don't think it belongs in patches/. To quote Chris W.:
"Good things there are bits that are ready to go upstream or fixes to base Linux that are transient by version (backport of a fix that's in the -rc for the next kernel or somesuch)."
Until this ends up in -mm, I really don't think we should add this to the -xen tree as it has no dependence on Xen. We should be good members of the kernel community here and go through the normal channels. At any rate, I would think that you would want it to be useful first before adding it which means bringing in all of the tools into the tree.
It won't be useful in the kernel unless there are actual consumers, of which Xen could/might be one. Having a use case flesh out problems and get the performance and design architecture examined in detail will be useful to the Linux maintainers - they get something more robust and better designed, although it's certainly not Xen's obligation to provide that, per se. I'm just seeing the possibility of mutual benefit, here.
Quoted 3 lines
That said, I believe since the patch is in the device-mapper tree for review, there is a good chance it will go into kernel in any case.
Agreed. I think it's a good idea to let it go through that review process before going into the Xen tree. As I said, once it's in -mm, I would imagine that it the interfaces would be stable enough that there's no harm putting it into the Xen tree.
Especially since libdmu is being considered for inclusion in the device-mapper userspace. Things would get pretty ugly if the dm-userspace ABI changes between now and when it shows up in -mm as there'd be conflicting userspace packages.
Regards,
Anthony Liguori
Quoted 3 lines
thanks,
Nivedita
AL> Agreed. I think it's a good idea to let it go through that review AL> process before going into the Xen tree. As I said, once it's in AL> -mm, I would imagine that it the interfaces would be stable enough AL> that there's no harm putting it into the Xen tree.
That may be true, however, putting it into the Xen tree at the moment would only be temporary anyway. I think that it changing shape while in the Xen tree isn't likely to break anything, as people using it at that point would have to know that it was subject to change. I don't think there is any danger in anyone snapshotting the Xen tree with a not-yet-final version of dm-userspace in it and assuming it's production-ready.
To quote your quote:
CW> "Good things there are bits that are ready to go upstream or fixes CW> to base Linux that are transient by version (backport of a fix CW> that's in the -rc for the next kernel or somesuch)."
The code has been accepted into the device-mapper review tree, which may qualify it as almost "ready to go upstream". So, if we fall under that umbrella, I think it's reasonable to get it into the Xen tree for testing and review. Perhaps Chris can weigh in here?
Signature · 4 lines
Dan Smith IBM Linux Technology Center Open Hypervisor Team email: [email protected]
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel