08.11.2022 17:50, Michael Tokarev wrote:
08.11.2022 17:11, Guillem Jover wrote:
[..]
If you are really seeing samba linked against old liburing not working
with the new liburing, then we'd need to dig further to see what else
might be missing, but I'm currently not seeing it just by a very quick
code staring.

Well. I already deleted my test chroot. I can't say for 100% now that it
breaks the other way around. I'll have to double-check.  It took me quite
quite some time especially due to other urgent things I'm doing today.
I can check if 2.2-compiled samba works with 2.3-uring but a bit later
today.  Even if it works, it is not exactly conclusive, since samba only
uses certain code paths.  But ofc if it doesn't work, it *is* conclusive :)

Ok, I double-verified this: samba compiled against older liburing works
with liburing 2.3 after upgrading liburing2 package.  So it must be just
me being too tired when debugging all this.  So it appears to be backwards-
compatible (non-conclusive! ;)), just needs new lib for newly compiled
programs.

It's a rare case really, because of the rather heavy usage of inline
functions for access, - so parts of the library are actually compiled
into the program, and now you've more pieces to keep in sync.

It's an interesting case really.

Thank you!

/mjt

Reply via email to