The kernel guys says that thei don't want LZMA in the kernel...
Why don't you provide a common interface that someone who want to write a SquashFS page compression engine can use?
In this way the compression algorithm is keep out from the kernel but it's possible to add and use all the algorithms you want.
There a a lot of way to implement this, you just need to find out the best.
All the uncompression work is done in squashfs_read_data of inode.c. So if the function calls for other algorithms are similar to zlib's, it should not be very hard technical wise.
Log in to post a comment.