Created attachment 368896 [details, diff] lz4-0_p106-cflags.patch -march=native, also -Ofoo See attachment.
Not needed for -9999 as per bug #499242 - it doesn't use cmake.
ping
jer, I have my hands full trying to get ZFSOnLinux upstream to resolve a regression in a way that does not cause data loss. I plan to take care of this right after I am certain that no one is going to lose data. If you have a chance to do this before more, feel free to commit.
The patch is pretty simple and explains itself perfectly. It should take less time to review than writing comment #3 did.
In the tree without revision bump.