-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[DO NOT MERGE] zstd test #9655
[DO NOT MERGE] zstd test #9655
Conversation
0a5e786
to
89b4ad6
Compare
|
yep... I'm not sure why the include works on my machine and for the |
@c0d3z3r0 THis is your problem:
Build:
Test:
|
the problem is the way limits.h is included. allan circumvented that by using that BSD compatibility headers, which we want to drop |
Well we wanted to drop them if they wheren't needed.... Test@Brainslayer: Build@Brainslayer: Test@c0d3z3r0 Build@c0d3z3r0 |
they aren't, I just have to get the includes right ;) |
@c0d3z3r0
Normal build path is possibly just the default and thats why removal goes fine on Build. |
@c0d3z3r0 |
Well, freebsd support could be added later, too. I'm just missing some makefile foo atm |
you know what? I don't care... let's see what the others say. I just readd it and get it building |
@c0d3z3r0
That being said: There is no: And those files it references aren't there either. I think you meant the files from: include/zstd. |
This imports the unmodified ZStandard source to contrib/ which will be used by ZFS. This code shall not be modified in any way to keep it easily updatable. Only the required files from lib/ are imported. contrib/zstd is excluded from codecov calculation as dependencies don't need full codecov. Signed-off-by: Allan Jude <[email protected]> Signed-off-by: Kjeld Schouten-Lebbing [email protected] Signed-off-by: Michael Niewöhner <[email protected]>
no, that's completely wrong... I found what was missing... as I said.. it was simple Makefile foo :D |
89b4ad6
to
3545923
Compare
wtf... |
These files make ZStandard compile as a kernel module without modifying the ZStandard source files. Removed unexpanded SVN version tracking tags from FreeBSD Signed-off-by: Allan Jude <[email protected]> Signed-off-by: Michael Niewöhner <[email protected]>
Extend APIs that deals with compression to also pass the compression level. Signed-off-by: Allan Jude <[email protected]> Signed-off-by: Sebastian Gottschall <[email protected]> Signed-off-by: Michael Niewöhner <[email protected]>
Signed-off-by: Allan Jude <[email protected]> Signed-off-by: Sebastian Gottschall <[email protected]> Signed-off-by: Kjeld Schouten-Lebbing <[email protected]> Signed-off-by: Michael Niewöhner <[email protected]>
3545923
to
79d6340
Compare
@c0d3z3r0 I'm interested to see how this run goes :) |
FIXME - adds zstd to history_002_pos.ksh - adds random levels of zstd to history_002_pos.ksh - adds zstd-fast to history_002_pos.ksh - adds random levels of zstd-fast to history_002_pos.ksh - ... Signed-off-by: Allan Jude <[email protected]> Signed-off-by: Sebastian Gottschall <[email protected]> Signed-off-by: Kjeld Schouten-Lebbing <[email protected]> Signed-off-by: Michael Niewöhner <[email protected]>
oh... we need find a fix for built-in builds |
@c0d3z3r0 http://build.zfsonlinux.org/builders/Kernel.org%20Built-in%20x86_64%20%28BUILD%29/builds/34305 is the last commit... Builds are all green |
yes, because the module is not there ;)
of course, see http://build.zfsonlinux.org/builders/Kernel.org%20Built-in%20x86_64%20%28BUILD%29/builds/34332 |
@c0d3z3r0 9115985 should be the last commit from this PR, it has all Builds passed. THe last commit has ALL changes included. http://build.zfsonlinux.org/builders/Kernel.org%20Built-in%20x86_64%20%28BUILD%29/builds/34332 (Or am I needlessly getting confused?) Edit |
and also if you switch between branches. the bug may trigger sometimes or it may not. thats the bad thing on race conditions. its more a question of luck than real a code issue |
@c0d3z3r0 unused code is never run, correct. but it makes the space between functions bigger. do you know the difference between long jumps and short jumps (same for calls) in assembler on x86? |
thank you! this is the explanation I was waiting for! yes, I know the difference and now I get what you meant ;) ok, then we could try to compile with |
-Wl,gc-sections isnt enough. you missed -ffunction-sections -fdata-sections at compile time and it will not help for kernel mode compile. thats just usermode which is not relevant for performance. and we also dont want to shadow this issue. better would it be to find a way to reproduce it quick and 100% |
and this is, what I am trying here step-by-step |
@c0d3z3r0 I didn't mean reset, sorry... |
\o/ all ztest passed (except Ubuntu, it's still running) |
@c0d3z3r0 Now i'm interested what actually would be the diff between your two branches... |
you can just do:
when both branches succeed know, what I expect, then the issue must be in the last revert here |
@c0d3z3r0 Thats quite a big blob of code... I don't think its worth it try to narrow it down even more. |
not really... actually it's just a few changes but a lot of reordering functions (which in theory should not cause any issues at all)
I would go the other way from now on, which is applying small patches to the other branch until we get the problem again |
Which, not-in-theory, we spend half a day on fixing the issues just the reshuffle caused alone... ;) |
Well, when I submit a PR, I want the code to be as clean as possible... because I know that I will have to touch the code again in future and there is nothing that I hate more than code-"chaos" (that is not meant offensive!). I simply should have tested much smaller commits from the beginning.. that was the only mistake :/ |
@c0d3z3r0 |
@c0d3z3r0 Wise choice just be 200% sure. |
@c0d3z3r0 Might I suggest letting at least the non-coverage tests complete this time? |
you mean zfstest? ok |
@c0d3z3r0 No I meant the whole suite. So actually yes :') |
ack |
@c0d3z3r0 Awesome, no zloop errors! :) |
@c0d3z3r0 my branch succeeded too with the new code and got no single error. not even the ones we normally ignore since we found them unrelated |
@c0d3z3r0 So I think this can be closed and we can continue on the other branch as planned. |
@Ornias1993 the failed ubuntu test looks like a memory allocation failure (not in zstd), so some sort of out of memory |
Revert "revert more..." This reverts commit 8ae6322.
\o/ no crash so far, so this all was random.... the culprit is not in the reverted commit |
@c0d3z3r0 This could just as well be random luck. This really is a waste of this repo's buildsystem just close this and start adding one by one. |
ack |
just run the tests