4th Apr, 2014, 12:10 PM
BTRFS with LZ4 compression
I patched kernel/btrfs to support LZ4 compression (as addition to default LZO and ZLIB).
kernel package is at
http://xbian.brantje.com/others/xbian-package-kernel1.3-6.11b-lz4.deb
despite the offset -lz4 package version is still matching the last kernel posted to devel repo. although the original patches are old and were developed for 2.xx kernels, it was possible to rebase it to actual kernels.
it is running for me with no issues for 48h, so I don't expect issues there. just one thing to consider before installing and changing "compress=lzo" to "compress=lz4".
it will "mark" the filesystem with additional "feature flag" making it impossible to mount the volume on kernel without this patch - that means RPI is fine, problem would be moving the SD card to another linux with BTRFS with expectation to mount it (after patching the kernel no problem again - tried with ubuntu-saucy kernel 3.10.11.62 - patch is at xbian-patches repo, in kernel directory).
awaiting some reports as I would really consider making this as default.
I expect the actual LZ4 implementation being a bit old, maybe it would be possible to match it to actual sources. will check that.
I patched kernel/btrfs to support LZ4 compression (as addition to default LZO and ZLIB).
kernel package is at
http://xbian.brantje.com/others/xbian-package-kernel1.3-6.11b-lz4.deb
despite the offset -lz4 package version is still matching the last kernel posted to devel repo. although the original patches are old and were developed for 2.xx kernels, it was possible to rebase it to actual kernels.
it is running for me with no issues for 48h, so I don't expect issues there. just one thing to consider before installing and changing "compress=lzo" to "compress=lz4".
it will "mark" the filesystem with additional "feature flag" making it impossible to mount the volume on kernel without this patch - that means RPI is fine, problem would be moving the SD card to another linux with BTRFS with expectation to mount it (after patching the kernel no problem again - tried with ubuntu-saucy kernel 3.10.11.62 - patch is at xbian-patches repo, in kernel directory).
awaiting some reports as I would really consider making this as default.
I expect the actual LZ4 implementation being a bit old, maybe it would be possible to match it to actual sources. will check that.