-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
splice07 fails on kernels <5.10 #1156
Comments
Thanks for a detailed table. @metan-ucw @mdoucha know more than me. AFAIK we noticed at least incorrect errno
Yes (https://lore.kernel.org/ltp/ZbO-Pl9S7KH2cKkb@yuki/). FYI before the latest release we whitelisted 2 cases: (c042185, e5970b2) and had a plan to add tests which actually test |
The right approach would be to fix the kernel since all these failures are kernel bugs (maybe except for inotify -> writable pipe). It does not make sense to modify the test, not even to add a kernel version check. |
5.10 got fixed by 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops"). I managed to backport necessary commits on the top of 5.5, but I was not sure if I did not introduce any regression, thus I did not post it. I was thinking to backport necessary changes to 5.4 LTS kernel, but that would require quite a lot of work (much more commits to backport because the code changed a lot). That is the reason why nobody thought about backporting the code (also some would consider it as a new feature not a fix). |
splice07 seems to depend on torvalds/linux@36e2c74 ("fs: don't allow splice read/write without explicit ops") to pass. I've compiled a list of failing combinations on 5.4, but I'm not sure what's the right approach to modifying the test:
Should it just be gated by kernel version or is there a preferred way to modify it so that it is backwards compatible?
The text was updated successfully, but these errors were encountered: