SPL regression failure linux:shrinker #96
Comments
Interesting, thanks for the bug report we'll look in to it. |
Could you be more specific, exactly which 2 patches resolved your issue. |
Sorry. All spl tests passed on Debian 6.0.4 with kernel 2.6.32-5-686 #1 SMP, with the original unpatched spl-0.6.0-rc8 |
I have come across the same issue on a new install of Ubuntu However, if I run |
Same here: My success rate is more like 1/2500 linux:shrinker runs, but that's what you get with timing issues. Compiling the SPL modules with Do we have any idea what the cause is, or is there any way I can provide more information? |
Sorry this one slipped through the cracks. It looks like a flaw in the test which needs to be fixed. The assumption was that once drop slabs returned all entires on our slab must have been dropped. That doesn't seem to be strictly true so we'll need to run down exactly why. |
I get the same error with spl-0.6.0-rc12, even after recompiling with the extra arg to ./configure and the patch applied. |
Ensure the test thread blocks until the shrinker has completed its work. This is done by putting the test thread to sleep and waking it each time the shrinker callback runs. Once the shrinker size drops to zero or we time out the test is allowed to proceed. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#96 Issue openzfs#182
When spl regression tests are run (Ubuntu 12.04, kernel 3.2.0-22-generic) this failure occurs:
compress/uncompress: Passed level 9, compressed 131072 bytes to 1836 bytes
linux:shrink_dcache ^[[0;32mPass^[[0m
shrink_dcache: Shrink dcache memory, remain 0 -> 0
linux:shrink_icache ^[[0;32mPass^[[0m
shrink_icache: Shrink icache memory, remain 0 -> 0
linux:shrinker ^[[0;31mFail^[[0m Numerical argument out of domain
shrinker: Failed cache was not shrunk to 0, size now 1024.
The text was updated successfully, but these errors were encountered: